From dd6fd84255ebb94d4f536dadae7ae76d61d9900e Mon Sep 17 00:00:00 2001 From: obdev Date: Mon, 15 May 2023 07:46:48 +0000 Subject: [PATCH] Adjust the mini tenant specification standard to 1G --- src/observer/omt/ob_tenant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observer/omt/ob_tenant.cpp b/src/observer/omt/ob_tenant.cpp index 955e44e58f..f09f8f3d9b 100644 --- a/src/observer/omt/ob_tenant.cpp +++ b/src/observer/omt/ob_tenant.cpp @@ -645,7 +645,7 @@ int ObTenant::init(const ObTenantMeta &meta) set_unit_max_cpu(meta.unit_.config_.max_cpu()); const int64_t memory_size = static_cast(tenant_meta_.unit_.config_.memory_size()); update_memory_size(memory_size); - constexpr static int64_t MINI_MEM_UPPER = 512L<<20; // 512M + constexpr static int64_t MINI_MEM_UPPER = 1L<<30; // 1G update_mini_mode(memory_size <= MINI_MEM_UPPER); if (!is_virtual_tenant_id(id_)) {