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

kraken: rgw: "period update" does not remove short_zone_ids of deleted zones #14141

Merged
merged 1 commit into from Apr 12, 2017

Conversation

smithfarm
Copy link
Contributor

the short ids of old, removed zones were being kept in the period to
guard against hash collisions with new zones

but for a hash collision to cause a wrong object to sync, that object
would have to be uploaded simultaneously to two different zones that had
the same short id

to avoid this, we just have to prevent the period from containing two
colliding zones at the same time - we don't have to remember old zone
short ids forever

Fixes: http://tracker.ceph.com/issues/15618

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9c45633)
@smithfarm smithfarm self-assigned this Mar 25, 2017
@smithfarm smithfarm added this to the kraken milestone Mar 25, 2017
@smithfarm smithfarm changed the title kraken: 'period update' does not remove short_zone_ids of deleted zones kraken: rgw: "period update" does not remove short_zone_ids of deleted zones Apr 7, 2017
@smithfarm smithfarm requested a review from cbodley April 12, 2017 13:47
@smithfarm
Copy link
Contributor Author

@cbodley This passed an RGW suite at http://tracker.ceph.com/issues/19009#note-8

Please review/approve if you agree it can be merged.

@smithfarm smithfarm merged commit fca689e into ceph:kraken Apr 12, 2017
@smithfarm smithfarm deleted the wip-19342-kraken branch April 12, 2017 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants