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

Delete replication on delete bucket and objects flow #7231

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

romayalon
Copy link
Contributor

Explain the changes

  1. Currently we deleted an attached replication policy only on delete_bucket flow, Added deletion of the bucket's replication policy when deleted also using delete_bucket_and_objects flow.

Issues: Fixed #xxx / Gap #xxx

  1. Probably fixes https://bugzilla.redhat.com/show_bug.cgi?id=2168788, waiting for a response

Testing Instructions:

  1. install noobaa
  2. create obc obc1
  3. create replication config json and put obc1 bucket name as destination bucket
  4. create obc obc2 with replication policy of step 3
  5. upload objects to obc2
  6. delete obc2
  7. check in db that the replication config was deleted
  8. check in noobaa core logs that we stop replicating objects from obc2 to obc1
  • Doc added/updated
  • Tests added

@romayalon romayalon changed the title delete replication on delete bucket and objects flow Delete replication on delete bucket and objects flow Mar 13, 2023
Signed-off-by: Romy <romy2232@gmail.com>
@romayalon romayalon merged commit f1b6034 into noobaa:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants