[CP] Fix: User variable 500 tenant split
This commit is contained in:
4
deps/oblib/src/common/ob_string_buf.h
vendored
4
deps/oblib/src/common/ob_string_buf.h
vendored
@ -34,6 +34,10 @@ public:
|
||||
explicit ObStringBufT(const lib::ObLabel &label = ObModIds::OB_STRING_BUF,
|
||||
const int64_t block_size = DEF_MEM_BLOCK_SIZE)
|
||||
: ObStringBufT(lib::ObMemAttr(OB_SERVER_TENANT_ID, label), block_size) {}
|
||||
explicit ObStringBufT(const int64_t tenant_id,
|
||||
const lib::ObLabel &label = ObModIds::OB_STRING_BUF,
|
||||
const int64_t block_size = DEF_MEM_BLOCK_SIZE)
|
||||
: ObStringBufT(lib::ObMemAttr(tenant_id, label), block_size) {}
|
||||
explicit ObStringBufT(PageArenaT &arena);
|
||||
~ObStringBufT();
|
||||
int reset();
|
||||
|
||||
@ -43,8 +43,8 @@ ObSessionValMap::ObSessionValMap(const int64_t block_size,
|
||||
: block_allocator_(SMALL_BLOCK_SIZE, common::OB_MALLOC_NORMAL_BLOCK_SIZE,
|
||||
ObMalloc(ObMemAttr(tenant_id, ObModIds::OB_SQL_SESSION_VAR_MAP))),
|
||||
var_name_val_map_allocer_(block_size, block_allocator),
|
||||
str_buf1_(ObModIds::OB_SQL_SESSION_VAR_MAP),
|
||||
str_buf2_(ObModIds::OB_SQL_SESSION_VAR_MAP),
|
||||
str_buf1_(tenant_id, ObModIds::OB_SQL_SESSION_VAR_MAP),
|
||||
str_buf2_(tenant_id, ObModIds::OB_SQL_SESSION_VAR_MAP),
|
||||
current_buf_index_(0),
|
||||
bucket_allocator_(ObMemAttr(tenant_id, ObModIds::OB_SQL_SESSION_VAR_MAP)),
|
||||
bucket_allocator_wrapper_(&bucket_allocator_),
|
||||
|
||||
Reference in New Issue
Block a user