From a4bac8c38faf9474e272bff58d232c5fd37e30e6 Mon Sep 17 00:00:00 2001 From: WeiXinChan Date: Wed, 16 Aug 2023 06:48:18 +0000 Subject: [PATCH] [Bugfix]not refresh ls location cache when get ls id --- src/observer/table/ob_table_rpc_processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observer/table/ob_table_rpc_processor.cpp b/src/observer/table/ob_table_rpc_processor.cpp index 4d85232136..54127937bd 100644 --- a/src/observer/table/ob_table_rpc_processor.cpp +++ b/src/observer/table/ob_table_rpc_processor.cpp @@ -240,7 +240,7 @@ int ObTableApiProcessorBase::get_ls_id(const ObTabletID &tablet_id, ObLSID &ls_i { int ret = OB_SUCCESS; bool is_cache_hit = false; - int64_t expire_renew_time = INT64_MAX; + int64_t expire_renew_time = 0; // not refresh ls location cache if (OB_FAIL(location_service_->get(MTL_ID(), tablet_id, expire_renew_time, is_cache_hit, ls_id))) { LOG_WARN("failed to get ls id", K(ret), K(is_cache_hit)); }