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鈥檒l 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

Merged
merged 2 commits into from
Dec 16, 2022
Merged

馃悰 Fix and add test to capture a race w/ partial metadata in cache #2505

merged 2 commits into from
Dec 16, 2022

Conversation

vincepri
Copy link
Contributor

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

@vincepri vincepri changed the title 馃悰 Add test to capture a race w/ partial metadata in cache 馃悰 Fix and add test to capture a race w/ partial metadata in cache Dec 16, 2022
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]>
@ncdc
Copy link
Member

ncdc commented Dec 16, 2022

@sttts is this ok to merge?

@ncdc
Copy link
Member

ncdc commented Dec 16, 2022

e2e-shared-server flaked with #2501

@ncdc
Copy link
Member

ncdc commented Dec 16, 2022

prow e2e-sharded failure was flake #2507

@ncdc
Copy link
Member

ncdc commented Dec 16, 2022

/retest

@ncdc
Copy link
Member

ncdc commented Dec 16, 2022

/milestone v0.11

@openshift-ci openshift-ci bot added this to the v0.11 milestone Dec 16, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 16, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 16, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 16, 2022
@openshift-merge-robot openshift-merge-robot merged commit 2b5c1f1 into kcp-dev:main Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants