mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-6676: Optimistic parallel replication
Implement a new mode for parallel replication. In this mode, all transactions are optimistically attempted applied in parallel. In case of conflicts, the offending transaction is rolled back and retried later non-parallel. This is an early-release patch to facilitate testing, more changes to user interface / options will be expected. The new mode is not enabled by default.
This commit is contained in:
@ -6646,6 +6646,7 @@ void THD::reset_for_next_command()
|
||||
{
|
||||
thd->variables.option_bits&= ~OPTION_KEEP_LOG;
|
||||
thd->transaction.all.modified_non_trans_table= FALSE;
|
||||
thd->transaction.all.m_unsafe_rollback_flags&= ~THD_TRANS::DID_WAIT;
|
||||
}
|
||||
DBUG_ASSERT(thd->security_ctx== &thd->main_security_ctx);
|
||||
thd->thread_specific_used= FALSE;
|
||||
|
Reference in New Issue
Block a user