diff options
Diffstat (limited to 'src/rgw/services/svc_bucket_sync.h')
-rw-r--r-- | src/rgw/services/svc_bucket_sync.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rgw/services/svc_bucket_sync.h b/src/rgw/services/svc_bucket_sync.h index ed709620276..250e874f006 100644 --- a/src/rgw/services/svc_bucket_sync.h +++ b/src/rgw/services/svc_bucket_sync.h @@ -35,8 +35,17 @@ public: std::optional<rgw_bucket> bucket, RGWBucketSyncPolicyHandlerRef *handler, optional_yield y) = 0; + virtual int handle_bi_update(RGWBucketInfo& bucket_info, - RGWBucketInfo *orig_bucket_info) = 0; + RGWBucketInfo *orig_bucket_info, + optional_yield y) = 0; + virtual int handle_bi_removal(const RGWBucketInfo& bucket_info, + optional_yield y) = 0; + + virtual int get_bucket_sync_hints(const rgw_bucket& bucket, + std::set<rgw_bucket> *sources, + std::set<rgw_bucket> *dests, + optional_yield y) = 0; }; |