fix scn legacy issues

This commit is contained in:
obdev
2022-11-28 02:36:53 +00:00
committed by ob-robot
parent c4b4322d26
commit 4c49f6e7c5
118 changed files with 13655 additions and 2157 deletions

View File

@ -181,7 +181,7 @@ int ObTableRedefinitionTask::check_build_replica_timeout()
ret = OB_NOT_INIT;
LOG_WARN("ObTableRedefinitionTask has not been inited", K(ret));
} else if (build_replica_request_time_ > 0) {
const int64_t timeout = GCONF.global_index_build_single_replica_timeout;
const int64_t timeout = OB_MAX_DDL_SINGLE_REPLICA_BUILD_TIMEOUT;
const int64_t current_time = ObTimeUtility::current_time();
if (build_replica_request_time_ + timeout < current_time) {
ret = OB_TIMEOUT;