mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
Merge pull request #8981 from ceph/wip-rgw-test-fix
test/rgw: fix bucket checkpoint Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
25eced4c65
@ -323,7 +323,10 @@ class RGWRealm:
|
||||
markers={}
|
||||
for entry in sync_status:
|
||||
val = entry['val']
|
||||
pos = val['inc_marker']['position'].split('#')[-1] # get rid of shard id; e.g., 6#00000000002.132.3 -> 00000000002.132.3
|
||||
if val['status'] == 'incremental-sync':
|
||||
pos = val['inc_marker']['position'].split('#')[-1] # get rid of shard id; e.g., 6#00000000002.132.3 -> 00000000002.132.3
|
||||
else:
|
||||
pos = ''
|
||||
markers[entry['key']] = pos
|
||||
|
||||
return markers
|
||||
|
Loading…
Reference in New Issue
Block a user