Skip to content
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

routecontroller: Add wait.NonSlidingUntil, use it #26301

Merged
merged 1 commit into from
May 26, 2016

Conversation

zmerlynn
Copy link
Member

Analytics Make sure the reconciliation loop kicks in again immediately if it
takes a loooooong time.

Make sure the reconciliation loop kicks in again immediately if it
takes a loooooong time.
@zmerlynn
Copy link
Member Author

cc @krousey

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels May 25, 2016
@krousey krousey assigned krousey and unassigned brendandburns May 25, 2016
@zmerlynn zmerlynn added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-label-needed labels May 25, 2016
@krousey
Copy link
Contributor

krousey commented May 25, 2016

LGTM with 2 conditions.

  • File a follow up issue to change wait.Until to behave like wait.NonSlidingUntil after the release
  • File an issue to fix those wonky unit tests that have no test assertions.

@krousey krousey added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 25, 2016
@zmerlynn
Copy link
Member Author

cc @wojtek-t @gmarek

@zmerlynn zmerlynn added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label May 25, 2016
@wojtek-t
Copy link
Member

@k8s-bot unit test this please github issue: #26345

@wojtek-t
Copy link
Member

LGTM - thanks!

@k8s-bot
Copy link

k8s-bot commented May 26, 2016

GCE e2e build/test passed for commit 3ec25c5.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 98766f4 into kubernetes:master May 26, 2016
}

select {
case <-stopCh:
return
case <-time.After(jitteredPeriod):
case <-t.C:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a race that can occur here when sliding is true, and jitterPeriod is 0, and a stopCh + t.C are triggered in close succession. #26782 (comment)

/cc @wojtek-t @mikedanese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants