mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
codership/wsrep-lib#34 Refactored view handling
Extracted on_primary_view(), on_non_primary_view() out of on_view().
This commit is contained in:
@ -609,6 +609,12 @@ namespace wsrep
|
||||
// Close transactions when handling disconnect from the group.
|
||||
void close_transactions_at_disconnect(wsrep::high_priority_service&);
|
||||
|
||||
// Handle primary view
|
||||
void on_primary_view(const wsrep::view&,
|
||||
wsrep::high_priority_service*);
|
||||
// Handle non-primary view
|
||||
void on_non_primary_view(const wsrep::view&,
|
||||
wsrep::high_priority_service*);
|
||||
// Common actions on final view
|
||||
void go_final(wsrep::unique_lock<wsrep::mutex>&,
|
||||
const wsrep::view&, wsrep::high_priority_service*);
|
||||
|
Reference in New Issue
Block a user