提交 77a4d472 编写于 作者: O obdev 提交者: wangzelin.wzl

fix getting invalid timestamp when generate_weak_read_timestamp

上级 ae9ef477
......@@ -123,6 +123,10 @@ int ObPartitionLoopWorker::gen_readable_info_with_memtable_(ObPartitionReadableI
if (OB_ISNULL(pls_) || OB_ISNULL(txs_) || OB_ISNULL(replay_status_)) {
ret = OB_ERR_UNEXPECTED;
STORAGE_LOG(WARN, "not inited", K(ret), K(pkey_), KP_(pls), KP_(txs), KP_(replay_status));
} else if (!replay_status_->is_enabled()) {
//current replay_status is disable, return specific errcode
ret = OB_STATE_NOT_MATCH;
STORAGE_LOG(WARN, "replay status is disable", K(ret), K(pkey_), KP_(pls), KP_(txs), KP_(replay_status));
} else if (OB_FAIL(pls_->get_next_replay_log_info(next_replay_log_id, readable_info.min_log_service_ts_))) {
if (OB_STATE_NOT_MATCH == ret) {
// print one log per minute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册