Skip to content

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

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

smanjara merged 1 commit into
ceph:wip-rgw-multisite-reshardfrom
smanjara:wip-rgw-multisite-reshard-fix-incremental

Conversation

@smanjara

@smanjara smanjara commented Jun 2, 2021

Copy link
Copy Markdown
Contributor

passes test_bucket_reshard_incremental

Signed-off-by: Shilpa Jagannath [email protected]

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
Comment thread src/rgw/rgw_data_sync.cc Outdated

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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