mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
After applying call, BF abort fixes
* Added after applying call for high priority threads in order to avoid client mode complexity in after_statement() call and make high prio transaction cleanup possible * Mask connection failed error with deadlock error if provider returns connection failed and the transaction was BF aborted
This commit is contained in:
@ -246,6 +246,15 @@ namespace wsrep
|
||||
enum after_statement_result after_statement();
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* Perform cleanup after applying a transaction.
|
||||
*/
|
||||
void after_applying()
|
||||
{
|
||||
assert(mode_ == m_high_priority);
|
||||
transaction_.after_applying();
|
||||
}
|
||||
|
||||
/** @name Replication interface */
|
||||
/** @{ */
|
||||
/**
|
||||
|
Reference in New Issue
Block a user