提交 b276491a 编写于 作者: X xs0 提交者: wangzelin.wzl

allow weak read timestamp delay in 30s during the restart process

上级 77b7c614
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册