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

BucketDiff is now checking for metadata change if the latest ETag is the same #7422

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

liranmauda
Copy link
Contributor

Explain the changes

  • bucket diff is now checking for metadata change if the latest ETag is the same
  • moved get_object_md from replication_utils into bucket_diff

###Gap:

  1. If there is more than one index then we treat it as one:
    The ETags are the same but it is not ensuring that the metadata is also the same
    we might want to go over all of the same ETags and check for each version if the metadata is the same.
    currently, we choose to treat multiple same Etag as the same object and slice to the latest we found.

Testing Instructions:

  1. run npx jest --testPathPattern="test_bucket_diff.test.js"
  • Tests added

… the same

- bucket diff is now checking for metadata change if the latest ETag is the same
- moved get_object_md from replication_utils into bucket_diff

Signed-off-by: liranmauda <liran.mauda@gmail.com>

s
@liranmauda liranmauda merged commit 5705883 into noobaa:master Aug 2, 2023
7 checks passed
@liranmauda liranmauda deleted the liran-bucket-diff-metadata branch August 9, 2023 14:14
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