cherry-pick from 3_1_x_release to 3.1_opensource_release

This commit is contained in:
yy0
2021-07-26 10:42:25 +08:00
committed by wangzelin.wzl
parent f2f91f98c6
commit 821da37d63
29 changed files with 318 additions and 368 deletions

View File

@ -275,6 +275,11 @@ private:
int check_and_do_freeze_by_total_limit();
int print_tenant_node(
ObTenantInfo& node, char* print_buf, int64_t buf_len, int64_t& pos, int64_t& total_active_memstore_hold);
int check_memory_used(const int64_t tenant_id,
const double mem_active_memstore_used,
const double mem_minor_freeze_trigger,
const double mem_memstore_limit,
bool &use_too_much_memory);
struct ObTenantBucket {
ObDList<ObTenantInfo> info_list_;