mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-02 05:22:26 +03:00
Close SR transactions when disconnecting from the group.
Moved SR fragment removal for total order BFd SR transactions into after_rollback() call to avoid deadlocking while trying to access storage before rolling back the transaction.
This commit is contained in:
@ -574,6 +574,9 @@ namespace wsrep
|
||||
wsrep::unique_lock<wsrep::mutex>&,
|
||||
wsrep::high_priority_service&);
|
||||
|
||||
// Close transactions when handling disconnect from the group.
|
||||
void close_transactions_at_disconnect(wsrep::high_priority_service&);
|
||||
|
||||
wsrep::mutex& mutex_;
|
||||
wsrep::condition_variable& cond_;
|
||||
wsrep::server_service& server_service_;
|
||||
|
Reference in New Issue
Block a user