::encode_json("explicit_placement", bucket->get_key().explicit_placement, formatter);
formatter->dump_string("id", bucket->get_bucket_id());
formatter->dump_string("marker", bucket->get_marker());
- formatter->dump_stream("index_type") << bucket_info.layout.current_index.layout.type;
- formatter->dump_int("index_generation", bucket_info.layout.current_index.gen);
- formatter->dump_int("num_shards",
- bucket_info.layout.current_index.layout.normal.num_shards);
+ formatter->dump_stream("index_type") << index.layout.type;
+ formatter->dump_int("index_generation", index.gen);
+ formatter->dump_int("num_shards", index.layout.normal.num_shards);
formatter->dump_string("reshard_status", to_string(bucket_info.layout.resharding));
logrecord_ut.gmtime(formatter->dump_stream("judge_reshard_lock_time"));
formatter->dump_bool("object_lock_enabled", bucket_info.obj_lock_enabled());