diff --git a/src/storage/high_availability/ob_physical_copy_task.h b/src/storage/high_availability/ob_physical_copy_task.h index 035e525ba..2d5106c74 100644 --- a/src/storage/high_availability/ob_physical_copy_task.h +++ b/src/storage/high_availability/ob_physical_copy_task.h @@ -146,7 +146,8 @@ private: int record_server_event_(); private: - static const int64_t MAX_RETRY_TIMES = 3; + // For rebuilder can not retry, define MAX_RETRY_TIMES as 1. + static const int64_t MAX_RETRY_TIMES = 1; static const int64_t OB_FETCH_MAJOR_BLOCK_RETRY_INTERVAL = 1 * 1000 * 1000L;// 1s bool is_inited_; ObPhysicalCopyCtx *copy_ctx_;