summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_bi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/services/svc_bi.h')
-rw-r--r--src/rgw/services/svc_bi.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rgw/services/svc_bi.h b/src/rgw/services/svc_bi.h
index bd811e1623a..3ab61e7421a 100644
--- a/src/rgw/services/svc_bi.h
+++ b/src/rgw/services/svc_bi.h
@@ -29,8 +29,13 @@ public:
RGWSI_BucketIndex(CephContext *cct) : RGWServiceInstance(cct) {}
virtual ~RGWSI_BucketIndex() {}
- virtual int init_index(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info, const rgw::bucket_index_layout_generation& idx_layout) = 0;
- virtual int clean_index(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info, const rgw::bucket_index_layout_generation& idx_layout) = 0;
+ virtual int init_index(const DoutPrefixProvider *dpp,
+ const RGWBucketInfo& bucket_info,
+ const rgw::bucket_index_layout_generation& idx_layout,
+ bool judge_support_logrecord = false) = 0;
+ virtual int clean_index(const DoutPrefixProvider *dpp,
+ const RGWBucketInfo& bucket_info,
+ const rgw::bucket_index_layout_generation& idx_layout) = 0;
virtual int read_stats(const DoutPrefixProvider *dpp,
const RGWBucketInfo& bucket_info,