1
0
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:
Teemu Ollakka
2018-07-19 15:13:27 +03:00
parent 61e0e30687
commit 5bf8ad1294
3 changed files with 46 additions and 11 deletions

View File

@ -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_;