Documentation ¶
Index ¶
Constants ¶
View Source
const ( PHASE1 uint8 = iota PHASE2 COMMIT )
View Source
const ( WHITE uint8 = iota GRAY BLACK )
View Source
const ALL_TO_ALL = true
View Source
const CHAN_BUFFER_SIZE = 200000
View Source
const CMDS_PER_BALLOT = 40
View Source
const FALSE = uint8(0)
View Source
const TRUE = uint8(1)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaderBookkeeping ¶
type LeaderBookkeeping struct {
// contains filtered or unexported fields
}
type Propose ¶
type Propose struct { *genericsmrproto.Propose // contains filtered or unexported fields }
type Replica ¶
type Replica struct { *genericsmr.Replica // extends a generic Paxos replica //conflicts []map[state.Key]int32 Shutdown bool // contains filtered or unexported fields }
func NewReplica ¶
Click to show internal directories.
Click to hide internal directories.