]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: improve data sync restart after failure 30175/head
authorTianshan Qu <tianshan@xsky.com>
Thu, 5 Sep 2019 10:02:01 +0000 (18:02 +0800)
committerTianshan Qu <tianshan@xsky.com>
Thu, 5 Sep 2019 10:02:01 +0000 (18:02 +0800)
commit5d101bd7d25a67130d437d417b52020c64423b7a
tree5e187fbb439c928880e5003dc86800b8ee7ec17b
parent3f18ed55aa711035d836e3ce780cf7f6d01d3e45
rgw: improve data sync restart after failure

RGWDataSyncShardCR will be reinited by RGWDataSyncShardControlCR after
error return, the sync_marker is old one since it's read in
RGWDataSyncShardControlCR's start process, so keep it updated to prevent
redo some sync process.

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
src/rgw/rgw_data_sync.cc