[bugfix] parallel replay branch savepoint insert tx-data-table lost data

Co-authored-by: ZenoWang <wzybuaasoft@163.com>
This commit is contained in:
chinaxing
2024-02-08 18:43:05 +00:00
committed by ob-robot
parent d09f4efcff
commit 230773b31a
6 changed files with 104 additions and 10 deletions

View File

@ -70,7 +70,6 @@ public:
ObTxData *tx_data = new (ptr) ObTxData();
tx_data->ref_cnt_ = 100;
tx_data->tx_data_allocator_ = FAKE_ALLOCATOR;
tx_data->flag_ = 269381;
tx_data_guard.init(tx_data);
return OB_ISNULL(tx_data) ? OB_ALLOCATE_MEMORY_FAILED : OB_SUCCESS;
}
@ -82,7 +81,6 @@ public:
ObTxData *from = (ObTxData*)from_guard.tx_data();
to->ref_cnt_ = 100;
to->tx_data_allocator_ = FAKE_ALLOCATOR;
to->flag_ = 269381;
to_guard.init(to);
OX (*to = *from);
OZ (deep_copy_undo_status_list_(from->undo_status_list_, to->undo_status_list_));