Skip to content

rgw/multisite: revert "rgw/multisite: avoid redundant error repo entry logging#60589

Merged
smanjara merged 1 commit intoceph:mainfrom
clwluvw:requested-gen-sync
Dec 3, 2024
Merged

rgw/multisite: revert "rgw/multisite: avoid redundant error repo entry logging#60589
smanjara merged 1 commit intoceph:mainfrom
clwluvw:requested-gen-sync

Conversation

@clwluvw
Copy link
Member

@clwluvw clwluvw commented Nov 1, 2024

Pass the requested gen than the bucket_status.incremental_gen to RGWSyncBucketShardCR as the old gen (bucket_status.incremental_gen) is stored in the error repo and will retried later.

Fixes: https://tracker.ceph.com/issues/68805

In order to keep the order of processing the generations, when the
requested gen is higher than the current gen we log both into the
error repo and process them in order again later.

Fixes: https://tracker.ceph.com/issues/68805
Signed-off-by: Seena Fallah <[email protected]>
This reverts commit a191f9a.
@clwluvw clwluvw force-pushed the requested-gen-sync branch from 8915268 to f07c4d4 Compare November 4, 2024 17:28
@smanjara smanjara changed the title rgw: use requested gen in RGWSyncBucketCR if provided rgw/multisite: revert "rgw/multisite: avoid redundant error repo entry logging Dec 2, 2024
@smanjara smanjara merged commit dda8b0a into ceph:main Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants