]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw lc: use marker for the shard id
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 5 Mar 2019 09:46:23 +0000 (10:46 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 5 Mar 2019 09:46:23 +0000 (10:46 +0100)
commitbf64aa843febf2f09aab54f9e0a24aa44f5938ea
tree7ce1a52ca3b625e0a3fabce05157aac4833a15f2
parent3a5647f748185e3a3fc2602a132874c0dfb24368
rgw lc: use marker for the shard id

Since buckets can undergo resharding which changes the bucket id, using the
bucket marker in the shard id can help prevent the need to rewrite the entry as
the buckets get resharded. This also helps detect the exit criteria when the
bucket gets deleted.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_lc.cc