-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix server_state FSM transitions #175
Labels
bug
Something isn't working
Comments
ayurchen
added a commit
that referenced
this issue
Nov 28, 2021
for SYNCED event as expected. 2. Fix trnasition to `s_joined` only after we have a complete state: - either SST seqno exceeds connected seqno - committed seqno exceeds connected seqno - current state is `s_donor` Refs #175
ayurchen
added a commit
that referenced
this issue
Nov 28, 2021
for SYNCED event as expected. 2. Fix transition to `s_joined` only after we have a complete state. Conditions for `s_joined` are either: - SST seqno exceeds connected seqno - committed seqno exceeds connected seqno - current state is `s_donor` Refs #175
ayurchen
added a commit
that referenced
this issue
Nov 29, 2021
for SYNCED event as expected. 2. Fix transition to `s_joined` only after we have a complete state. Conditions for `s_joined` are either: - SST seqno exceeds connected seqno - committed seqno exceeds connected seqno - current state is `s_donor` Refs #175
ayurchen
added a commit
that referenced
this issue
Nov 30, 2021
for SYNCED event as expected. 2. Fix transition to `s_joined` only after we have a complete state. Complete state is reached in the following 3 cases: - SST seqno exceeds connected seqno - view seqno equals connected seqno (view processed == view connected) - current state is `s_donor` Refs #175
ayurchen
added a commit
that referenced
this issue
Nov 30, 2021
for SYNCED event as expected. 2. Fix transition to `s_joined` only after we have a complete state. Complete state is reached in the following 3 cases: - SST seqno exceeds connected seqno - view seqno equals connected seqno (view processed == view connected) - current state is `s_donor` Refs #175
ayurchen
added a commit
that referenced
this issue
Nov 30, 2021
for SYNCED event as expected. 2. Fix transition to `s_joined` only after we have a complete state. Complete state is reached in the following 3 cases: - SST seqno exceeds connected seqno - view seqno equals connected seqno (view processed == view connected) - current state is `s_donor` Refs #175
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two mutually dependent issues with
wsrep::server_state
FSM transitions:s_synced
on donor when SST start fails:wsrep-lib/src/server_state.cpp
Line 672 in 3f79d43
s_joined
, since there is no dedicatedJOINED
callback/event in the API:wsrep-lib/src/server_state.cpp
Line 722 in 3f79d43
However this all can be resolved if we consider that
s_joined
state is actually reached when the last committed seqno becomes greater or equal to connected seqno.The text was updated successfully, but these errors were encountered: