Skip to content

rgw/multisite_reshard: pass the right generation number for bilog listing#41661

Merged
smanjara merged 1 commit intoceph:wip-rgw-multisite-reshardfrom
smanjara:wip-rgw-multisite-reshard-fix-incremental
Jun 3, 2021
Merged

rgw/multisite_reshard: pass the right generation number for bilog listing#41661
smanjara merged 1 commit intoceph:wip-rgw-multisite-reshardfrom
smanjara:wip-rgw-multisite-reshard-fix-incremental

Conversation

@smanjara
Copy link
Contributor

@smanjara smanjara commented Jun 2, 2021

passes test_bucket_reshard_incremental

Signed-off-by: Shilpa Jagannath smanjara@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@smanjara smanjara requested a review from cbodley June 2, 2021 18:02
@github-actions github-actions bot added the rgw label Jun 2, 2021
yield call(new RGWSyncBucketShardCR(sc, data_lease_cr, sync_pair,
sync_pipe, bucket_status.state,
tn, progress));
*gen, tn, progress));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbodley ok to deref gen here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it looks like we should use bucket_status.incremental_gen here instead?

if we get a gen, the if (gen) { block above will compare it with bucket_status.incremental_gen and return if they don't match

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbodley ok but passing bucket_status.incremental_gen doesn't help fix the issue though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm it works in both cases actually.

@smanjara smanjara force-pushed the wip-rgw-multisite-reshard-fix-incremental branch from 07884b9 to 76f7a71 Compare June 2, 2021 18:07
…ting

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
@smanjara smanjara force-pushed the wip-rgw-multisite-reshard-fix-incremental branch from 76f7a71 to 74def4d Compare June 2, 2021 18:35
@smanjara smanjara merged commit 13ccdd6 into ceph:wip-rgw-multisite-reshard Jun 3, 2021
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.

2 participants