[FEAT MERGE] productization of xa trans

This commit is contained in:
obdev
2023-01-28 18:05:52 +08:00
committed by ob-robot
parent 01c6b1fbea
commit f27d2efc83
30 changed files with 500 additions and 180 deletions

View File

@ -190,7 +190,8 @@ TEST_F(TestObTxLog, tx_log_body_except_redo)
TEST_FIRST_SCN,
TEST_LAST_SCN,
TEST_MAX_SUBMITTED_SEQ_NO,
TEST_CLUSTER_VERSION);
TEST_CLUSTER_VERSION,
TEST_XID);
ObTxPrepareLog filll_prepare(TEST_LS_ARRAY, TEST_LOG_OFFSET);
ObTxCommitLog fill_commit(share::SCN::base_scn(),
TEST_CHECKSUM,
@ -548,6 +549,8 @@ TEST_F(TestObTxLog, test_default_log_deserialize)
replay_member_cnt++;
EXPECT_EQ(fill_active_state.get_max_submitted_seq_no(), replay_active_state.get_max_submitted_seq_no());
replay_member_cnt++;
EXPECT_EQ(fill_active_state.get_xid(), replay_active_state.get_xid());
replay_member_cnt++;
EXPECT_EQ(replay_member_cnt, fill_member_cnt);
ObTxCommitInfoLogTempRef commit_state_temp_ref;