Skip to main content

Module st

Module st 

Source
Expand description

Controller states. The names follow ubft_new’s (FAST_WAIT_PREPARE and so on); a POLL_* state starts a fetch and its WAIT_* state reads the result.

Constants§

BASES
Computing the mailbox bases.
DECIDE
FAST_DECIDE / SLOW_DECIDE.
F_BC_WC
FAST_BCAST_WILL_CERTIFY.
F_BC_WM
FAST_BCAST_WILL_COMMIT.
F_INIT
FAST_INIT.
F_POLL_PREP
FAST_WAIT_PREPARE.
F_POLL_WC
FAST_WAIT_WILL_CERTIFY_QUORUM.
F_POLL_WM
FAST_WAIT_WILL_COMMIT_QUORUM.
F_WAIT_PREP
Reading the prepare.
F_WAIT_WC
Counting will_cert votes.
F_WAIT_WM
Counting will_commit votes.
IDLE
Stopped.
L_BCAST
Sending the prepare.
L_INIT
LEADER_INIT.
L_WAIT_PROP
LEADER_PREPARE: waiting for the slot’s proposal.
S_BC_COMMIT
SLOW_BCAST_COMMIT.
S_BC_SIG
Sending the share.
S_BC_VALID
Sending certify_valid.
S_INIT
SLOW_INIT.
S_POLL_COMMIT
SLOW_WAIT_COMMIT_QUORUM.
S_POLL_PREP
SLOW_WAIT_PREPARE.
S_POLL_VALID
SLOW_WAIT_CERTIFY_QUORUM: polling the flags.
S_SIGN
SLOW_BCAST_CERTIFY: sign request.
S_SIG_WAIT
Waiting for the signature.
S_VERDICT
Waiting for the verdict.
S_VERIFY
Verify request: header and message beats.
S_VER_SHARE
Verify request: the share, streamed from HBM.
S_WAIT_COMMIT
Counting commits.
S_WAIT_PREP
Reading the prepare.
S_WAIT_VALID
Reading the flags.
V_BC_VC
VIEW_BCAST_VC: our record.
V_BC_VCV
Its valid flag.
V_CHOOSE
Choosing the value (f + 1 reports).
V_INIT
VIEW_INIT.
V_INSTALL
VIEW_INSTALL: writing prepare locally.
V_POLL_REC
Reading record i.
V_POLL_VCV
VIEW_WAIT_VC_QUORUM.
V_WAIT_REC
Keeping it.
V_WAIT_VCV
Counting records.