diff --git a/src/storage/tx_storage/ob_access_service.cpp b/src/storage/tx_storage/ob_access_service.cpp index c2ca84ea51..c5a5480ccb 100644 --- a/src/storage/tx_storage/ob_access_service.cpp +++ b/src/storage/tx_storage/ob_access_service.cpp @@ -620,7 +620,8 @@ int ObAccessService::check_write_allowed_( enable_table_lock = false; ret = OB_SUCCESS; } - if (OB_FAIL(check_tenant_out_of_memstore_limit_(is_out_of_mem))) { + if (!dml_param.is_direct_insert() + && OB_FAIL(check_tenant_out_of_memstore_limit_(is_out_of_mem))) { LOG_WARN("fail to check tenant out of mem limit", K(ret), K_(tenant_id)); } else if (is_out_of_mem && !tablet_id.is_inner_tablet()) { ret = OB_TENANT_OUT_OF_MEM;