bci.info.bucket.data_pool = old_bci.info.bucket.data_pool;
bci.info.bucket.index_pool = old_bci.info.bucket.index_pool;
bci.info.bucket.data_extra_pool = old_bci.info.bucket.data_extra_pool;
- bci.info.index_type = old_bci.info.index_type;
}
// are we actually going to perform this put, or is it too old?
}
encode_json("swift_versioning", swift_versioning, f);
encode_json("swift_ver_location", swift_ver_location, f);
+ encode_json("index_type", (uint32_t)index_type, f);
}
void RGWBucketInfo::decode_json(JSONObj *obj) {
}
JSONDecoder::decode_json("swift_versioning", swift_versioning, obj);
JSONDecoder::decode_json("swift_ver_location", swift_ver_location, obj);
+ uint32_t it;
+ JSONDecoder::decode_json("index_type", it, obj);
+ index_type = (RGWBucketIndexType)it;
}
void rgw_obj_key::dump(Formatter *f) const