-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable resync period #2634
Disable resync period #2634
Conversation
/lgtm |
af9a261
to
47e2cee
Compare
.travis.yml
Outdated
&& go get golang.org/x/lint/golint | ||
- go get github.com/vbatts/git-validation | ||
- | | ||
mkdir -p $GOPATH/src/golang.org/x/tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just go get -d golang.org/x/lint/golint
to avoid this mkdir
+ git clone
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
.travis.yml
Outdated
git clone https://go.googlesource.com/tools $GOPATH/src/golang.org/x/tools | ||
cd $GOPATH/src/golang.org/x/tools | ||
git checkout release-branch.go1.10 | ||
go get golang.org/x/lint/golint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go install
sounds more appropriate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
.travis.yml
Outdated
cd $GOPATH/src/golang.org/x/tools | ||
git checkout release-branch.go1.10 | ||
go get golang.org/x/lint/golint | ||
cd $TRAVIS_BUILD_DIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd -
probably more intuitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, antoineco The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #2634 +/- ##
==========================================
+ Coverage 40.69% 40.72% +0.02%
==========================================
Files 75 75
Lines 5123 5120 -3
==========================================
Hits 2085 2085
+ Misses 2756 2753 -3
Partials 282 282
Continue to review full report at Codecov.
|
Resync period is there for a good reason to catchup with missed watch events, which can occasionally happen. In source controllers (code in controller-manager) do just fine with resync period != 0. Having read all related issues, there was no evidence that problems were caused. |
What this PR does / why we need it:
Disables the resync period. The intended use of this setting is related to watch issues with etcd. This is not an issue anymore. Additionally, forcing a resync introduces some edge cases, like #2195.
Note: this was also recommended in the contributor summit in last Kubecon
Which issue this PR fixes : fixes #2195