]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: use objv_tracker to read/write bucket sync status
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Mar 2020 13:23:23 +0000 (09:23 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 13 Apr 2020 18:08:18 +0000 (14:08 -0400)
commit7fb98eaf0a1864021919ee02b87080887c5ffae0
tree85e8bbff7bc960c27ee6d2b54fd6766548923966
parent91d326c16401c163c157fedd19933cc56a80dbe6
rgw: use objv_tracker to read/write bucket sync status

use cls_version on bucket sync status to detect racing writes - whether
from other gateways, or from radosgw-admin commands like 'bucket sync'
or 'bucket sync init'

classes that require a non-null version tracker take it by reference

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc
src/rgw/rgw_data_sync.h