From b276491a6ca5ed226f662badd411ac5601988516 Mon Sep 17 00:00:00 2001 From: xs0 Date: Wed, 22 Sep 2021 16:38:06 +0800 Subject: [PATCH] allow weak read timestamp delay in 30s during the restart process --- src/storage/ob_partition_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/ob_partition_service.cpp b/src/storage/ob_partition_service.cpp index 41de12d915..0c2844ff30 100644 --- a/src/storage/ob_partition_service.cpp +++ b/src/storage/ob_partition_service.cpp @@ -10573,7 +10573,7 @@ int ObPartitionService::check_can_start_service( is_all_unreachable_partition = false; // if the partition is more than 10s behind, the server cannot provide // external services during the restart process - if (timestamp <= ObTimeUtility::current_time() - 10 * 1000 * 1000) { + if (timestamp <= ObTimeUtility::current_time() - 30 * 1000 * 1000) { can_start_service = false; } if (timestamp < tmp_safe_weak_read_snapshot) { -- GitLab