mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-02 05:22:26 +03:00
Extracted duplicate logic into return_from_donor_state
The condition to skip changing to `s_joined` for all codepaths which return from donor state. Extracted the logic into separate method. Commented start_sst_action in mock_server_service.
This commit is contained in:
@ -674,6 +674,9 @@ namespace wsrep
|
||||
enum wsrep::provider::status send_pending_rollback_events(
|
||||
wsrep::unique_lock<wsrep::mutex>& lock);
|
||||
|
||||
// Handle returning from donor state.
|
||||
void return_from_donor_state(wsrep::unique_lock<wsrep::mutex>& lock);
|
||||
|
||||
wsrep::mutex& mutex_;
|
||||
wsrep::condition_variable& cond_;
|
||||
wsrep::server_service& server_service_;
|
||||
|
Reference in New Issue
Block a user