]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add archive zone metadata manager
authorJavier M. Mellid <jmunhoz@igalia.com>
Fri, 12 Oct 2018 12:21:41 +0000 (14:21 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 24 Jan 2019 04:19:02 +0000 (20:19 -0800)
commit6b62519edd8bd4058cb4fd2e15abea4d8efdf514
tree0e527f3c3353de1ac33308de9adadc64a3cdac40
parentd0a27bfb81ea464a303d3d5f48c4a7b4fc2189d1
rgw: Add archive zone metadata manager

The current implementation supports one only metadata manager. The new
archive zone requires a new metadata manager to override functionality.

The archive zone metadata manager need to plug in/out depending on the
zone tier type. This metadata manager switching is driven by the new
archive data sync module.

The metadata manager switch requires migrating the old metadata manager
state to the new one to avoid crashing the current operations.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
src/rgw/rgw_data_sync.cc
src/rgw/rgw_metadata.cc
src/rgw/rgw_metadata.h