-
Notifications
You must be signed in to change notification settings - Fork 394
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
🐛 Fix and add test to capture a race w/ partial metadata in cache #2505
🐛 Fix and add test to capture a race w/ partial metadata in cache #2505
Conversation
Signed-off-by: Vince Prignano <[email protected]>
The API server handles tranforming the CRD when a client is asking for a partial metadata before objects are returned to the client. Moreover, modifying the CRD at this point can cause a race condition given that the spec will then be store in the cache. Signed-off-by: Vince Prignano <[email protected]>
@sttts is this ok to merge? |
e2e-shared-server flaked with #2501 |
prow e2e-sharded failure was flake #2507 |
/retest |
/milestone v0.11 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc 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 |
Signed-off-by: Vince Prignano [email protected]
Summary
Fix should go in kcp/kubernetes (maybe?), this test captures the sequence of events leading up to the issue
Related issue(s)
Related to #2278
/cc @ncdc @stevekuznetsov @sttts