-
Notifications
You must be signed in to change notification settings - Fork 42k
Automated cherry pick of #127417: bugfix: endpoints controller track resource version #127454
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
Automated cherry pick of #127417: bugfix: endpoints controller track resource version #127454
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
same as #127452 (comment) |
9a181db to
753fe98
Compare
|
Due to the diff between release-1.28 and master, the test was modified slightly to initialize the context and use the util functions that are available in release-1.28. There is no logical difference between the tests. |
The endpoints controller store the resource version of the previous Endpoints objects to avoid issues related to stale information on the cache. However, there can be update operations that succeed without increasing the resource version, causing the endpoints controller to declare stale the existing Resource Version and stopping the Endpoints to be updated. Co-Author-By: Quan Tian <[email protected]> Co-Author-By: Yang Yang <[email protected]>
753fe98 to
6226e65
Compare
|
/lgtm Thanks |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, swetharepakula The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
LGTM label has been added. DetailsGit tree hash: f65b10784bd1457664fcf5ee22a097f96a938956 |
Verolop
left a comment
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.
/lgtm
Cherry pick of #127417 on release-1.28.
#127417: bugfix: endpoints controller track resource version
For details on the cherry pick process, see the cherry pick requests page.