set prev_log_type in commit/prepare log

Co-authored-by: wxhwang <wxhwang@126.com>
This commit is contained in:
obdev
2024-02-10 06:11:13 +00:00
committed by ob-robot
parent 8cefe11ef3
commit eebd59b11b
14 changed files with 238 additions and 55 deletions

View File

@ -209,7 +209,8 @@ TEST_F(GET_RESTART_ZONE_TEST_CLASS_NAME(2, 1), restart_zone2_from_tx_ctx_table)
ASSERT_EQ(ls_handle.is_valid(), true);
ASSERT_EQ(OB_SUCCESS, ls_handle.get_ls()->get_tx_ctx(register_succ_arg.tx_id_, true, tx_ctx));
RETRY_UNTIL_TIMEOUT(tx_ctx->start_recover_ts_ == register_succ_arg.register_scn2_,
RETRY_UNTIL_TIMEOUT(tx_ctx->ctx_source_ == PartCtxSource::RECOVER
&& tx_ctx->create_ctx_scn_ == register_succ_arg.register_scn2_,
5 * 1000 * 1000, 5000);
// tx_ctx->print_trace_log();
// TRANS_LOG(INFO, "after restart, print tx ctx",K(*tx_ctx));