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

Handle create-pending annotation edge case #238

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

nolancon
Copy link
Collaborator

@nolancon nolancon commented May 24, 2024

Description of your changes

This is a workaround to address the scenario that can occur which is described here
crossplane/crossplane#3037
and specifically here crossplane/crossplane#3037 (comment)

I have added an extensive comment to the code dd5071c which explains (a) the scenario that we might find ourselves in, (b) the workaround put in place and (c) why it is safe to perform this workaround.

I have:

  • Run make reviewable to ensure this PR is ready for review.
  • Run make ceph-chainsaw to validate these changes against Ceph. This step is not always necessary. However, for changes related to S3 calls it is sensible to validate against an actual Ceph cluster. Localstack is used in our CI Chainsaw suite for convenience and there can be disparity in S3 behaviours betwee it and Ceph. See docs/TESTING.md for information on how to run tests against a Ceph cluster.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

This PR also includes a Chainsaw test that reproduces this scenario.

@nolancon nolancon requested review from mhmxs and Shunpoco May 24, 2024 17:12
@nolancon nolancon merged commit bd51690 into main May 27, 2024
11 checks passed
@nolancon nolancon deleted the annotation-edge-case branch May 27, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants