]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add 'state==SyncState::IncrementalSync' condition when add item to shards_behind. 14552/head
authorlu.shasha <lu.shasha@eisoo.com>
Fri, 14 Apr 2017 09:22:37 +0000 (17:22 +0800)
committerlu.shasha <lu.shasha@eisoo.com>
Mon, 24 Apr 2017 00:55:19 +0000 (08:55 +0800)
commit7e3691aa7a0b90d161dc9076fea2cc80355fe575
tree6a52f0b74baeec2f4b7b9e123749c87c384273eb
parent125f27e3e8e9d54b80525142ecd7032f34c309f2
rgw: add 'state==SyncState::IncrementalSync' condition when add item to shards_behind.

after running 'radosgw-admin data sync init', the sync_marker's state will change to FullSync, but the marker didn't clean. So 'sync status' command will wrongly inset shards_behind.

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
src/rgw/rgw_admin.cc