const rgw::bucket_index_layout_generation& idx_layout,
bool judge_support_logrecord)
{
+ if (idx_layout.layout.type != rgw::BucketIndexType::Normal) {
+ return 0;
+ }
+
librados::IoCtx index_pool;
string dir_oid = dir_oid_prefix;
int RGWSI_BucketIndex_RADOS::clean_index(const DoutPrefixProvider *dpp, const RGWBucketInfo& bucket_info,
const rgw::bucket_index_layout_generation& idx_layout)
{
+ if (idx_layout.layout.type != rgw::BucketIndexType::Normal) {
+ return 0;
+ }
+
librados::IoCtx index_pool;
std::string dir_oid = dir_oid_prefix;