diff --git a/src/sql/engine/px/ob_px_rpc_processor.cpp b/src/sql/engine/px/ob_px_rpc_processor.cpp index afb16ae6667c9f025942fb8ea8412f575a634937..bcae0d5c6cbc4999f39ea275b157eda6ece703a3 100644 --- a/src/sql/engine/px/ob_px_rpc_processor.cpp +++ b/src/sql/engine/px/ob_px_rpc_processor.cpp @@ -356,7 +356,9 @@ void ObDealWithRpcTimeoutCall::deal_with_rpc_timeout_err() { if (OB_TIMEOUT == ret_) { int64_t cur_timestamp = ::oceanbase::common::ObTimeUtility::current_time(); - if (timeout_ts_ - cur_timestamp > 0) { + // 由于存在时间精度不一致导致的时间差, 这里需要满足大于100ms才认为不是超时. + // 一个容错的处理. + if (timeout_ts_ - cur_timestamp > 100 * 1000) { LOG_DEBUG("rpc return OB_TIMEOUT, but it is actually not timeout, " "change error code to OB_CONNECT_ERROR", K(ret_),