未验证 提交 d467ca3d 编写于 作者: D DAYC 提交者: GitHub

Fix typo #445 (#587)

* fix typo

* fix archive
上级 40383745
......@@ -221,7 +221,7 @@ void ObLogArchiveAndRestoreDriver::state_driver_loop()
}
const int64_t round_cost_time = ObTimeUtility::current_time() - start_ts;
int32_t sleep_ts = ARCHVIE_AND_RESTORE_STATE_DRIVER_INTERVAL - static_cast<const int32_t>(round_cost_time);
int32_t sleep_ts = ARCHIVE_AND_RESTORE_STATE_DRIVER_INTERVAL - static_cast<const int32_t>(round_cost_time);
if (sleep_ts < 0) {
sleep_ts = 0;
}
......
......@@ -42,7 +42,7 @@ private:
const int64_t CLOG_CHECK_RESTORE_PROGRESS_INTERVAL = 2L * 1000 * 1000LL;
const int64_t CHECK_LOG_ARCHIVE_CHECKPOINT_INTERVAL = 1 * 1000 * 1000LL; // 1s
const int64_t CLEAR_TRANS_AFTER_RESTORE_INTERVAL = 5 * 1000 * 1000LL; // 5s
const int64_t ARCHVIE_AND_RESTORE_STATE_DRIVER_INTERVAL = 500 * 1000LL; // 500ms
const int64_t ARCHIVE_AND_RESTORE_STATE_DRIVER_INTERVAL = 500 * 1000LL; // 500ms
private:
bool is_inited_;
storage::ObPartitionService* partition_service_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册