object_type place hold in master
This commit is contained in:
parent
fdea978220
commit
5e30ba1100
@ -70,6 +70,7 @@ enum class ObStorageObjectType : uint8_t
|
||||
CHECKSUM_ERROR_DUMP_MACRO = 36,
|
||||
SHARED_MICRO_DATA_MACRO = 37,
|
||||
SHARED_MICRO_META_MACRO = 38,
|
||||
UNSEALED_REMOTE_SEG_FILE = 39,
|
||||
MAX // Forbid insert object type in the middle! Only allow the tail!
|
||||
// Add new object type notice:
|
||||
// 1. if the object type only store in local cache, must add is_pin_storage_object_type, if the object type only store in remote object storage, must add is_read_through_storage_object_type
|
||||
@ -124,6 +125,7 @@ static const char *get_storage_objet_type_str(const ObStorageObjectType type)
|
||||
"CHECKSUM_ERROR_DUMP_MACRO",
|
||||
"SHARED_MICRO_DATA_MACRO",
|
||||
"SHARED_MICRO_META_MACRO",
|
||||
"UNSEALED_REMOTE_SEG_FILE",
|
||||
"MAX"
|
||||
};
|
||||
const char *type_str = type_str_map_[static_cast<int32_t>(ObStorageObjectType::MAX)];
|
||||
|
Loading…
x
Reference in New Issue
Block a user