[BUG] refresh rec log ts for mds ctx replay from middle
This commit is contained in:
@ -1570,8 +1570,13 @@ int ObPartTransCtx::get_tx_ctx_table_info(ObTxCtxTableInfo &info)
|
||||
TRANS_LOG(INFO, "tx ctx has no persisted log", K(ret), KPC(this));
|
||||
// 3. Tx ctx has no persisted log, so donot need persisting
|
||||
} else if (is_incomplete_replay_ctx_) {
|
||||
// NB: we need refresh rec log ts for incomplete replay ctx
|
||||
if (OB_FAIL(refresh_rec_log_ts_())) {
|
||||
TRANS_LOG(WARN, "refresh rec log ts failed", K(ret), KPC(this));
|
||||
} else {
|
||||
ret = OB_TRANS_CTX_NOT_EXIST;
|
||||
TRANS_LOG(INFO, "tx ctx is in complete replay ctx", K(ret), KPC(this));
|
||||
}
|
||||
// 3. Fetch the current state of the tx ctx table
|
||||
} else if (OB_FAIL(get_tx_ctx_table_info_(info))) {
|
||||
TRANS_LOG(WARN, "get tx ctx table info failed", K(ret), K(*this));
|
||||
|
Reference in New Issue
Block a user