diff --git a/src/rootserver/ob_primary_ls_service.cpp b/src/rootserver/ob_primary_ls_service.cpp index a3bb107476..eadbd79d38 100755 --- a/src/rootserver/ob_primary_ls_service.cpp +++ b/src/rootserver/ob_primary_ls_service.cpp @@ -2131,7 +2131,7 @@ void ObPrimaryLSService::do_work() ret = OB_NOT_INIT; LOG_WARN("not init", K(ret)); } else { - int64_t idle_time_us = 100 * 1000L; + int64_t idle_time_us = 1000 * 1000L; int tmp_ret = OB_SUCCESS; while (!has_set_stop()) { { diff --git a/src/storage/tx/ob_trans_define_v4.cpp b/src/storage/tx/ob_trans_define_v4.cpp index 00723247c7..7a3fb8cca3 100644 --- a/src/storage/tx/ob_trans_define_v4.cpp +++ b/src/storage/tx/ob_trans_define_v4.cpp @@ -1108,7 +1108,7 @@ ObString ObTxReadSnapshot::get_source_name() const } ObTxExecResult::ObTxExecResult() - : allocator_("TxExecResult", MTL_ID()), + : allocator_("TxExecResult", 0 == MTL_ID() ? OB_SERVER_TENANT_ID : MTL_ID()), incomplete_(false), touched_ls_list_(OB_MALLOC_NORMAL_BLOCK_SIZE, allocator_), parts_(OB_MALLOC_NORMAL_BLOCK_SIZE, allocator_),