mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
Recover current view from state after SST.
When member joins the group and needs to receive an SST it won't receive the corresponding menbership view event because the SST happens after the event and will already include the effects of all events ordered before it. The view then must be recovered from the received state. Minor renames and cleanups. References codership/wsrep-lib#18
This commit is contained in:
@ -48,12 +48,15 @@ namespace db
|
||||
override;
|
||||
void log_view(wsrep::high_priority_service*,
|
||||
const wsrep::view&) override;
|
||||
wsrep::view get_view(wsrep::client_service&, const wsrep::id&)
|
||||
override;
|
||||
void log_state_change(enum wsrep::server_state::state,
|
||||
enum wsrep::server_state::state) override;
|
||||
int wait_committing_transactions(int) override;
|
||||
void debug_sync(const char*) override;
|
||||
private:
|
||||
db::server& server_;
|
||||
wsrep::view logged_view_;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user