Do not submit commit/prepare log in trx_submit_next_log with force_abort flag
This commit is contained in:
@ -74,10 +74,7 @@ int MockOb2pcCtx::commit(const MockObParticipants& participants)
|
||||
participants_.assign(participants.begin(), participants.end());
|
||||
return two_phase_commit();
|
||||
}
|
||||
int MockOb2pcCtx::do_prepare_redo()
|
||||
{
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int MockOb2pcCtx::do_prepare(bool &no_need_submit_log)
|
||||
{
|
||||
no_need_submit_log = false;
|
||||
|
||||
@ -94,7 +94,6 @@ protected:
|
||||
// decide final transaction state. In Oceanbase's optimized, do_pre_commit is used to
|
||||
// optimize single machine read latency and do/on_clear is used to maintain the state
|
||||
// to recovery
|
||||
virtual int do_prepare_redo() override;
|
||||
virtual int do_prepare(bool &no_need_submit_log) override;
|
||||
virtual int on_prepare() override;
|
||||
virtual int do_pre_commit(bool& need_wait) override;
|
||||
|
||||
Reference in New Issue
Block a user