gpaxos

package
v0.0.0-...-18e7bf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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 Ballot

type Ballot struct {
	// contains filtered or unexported fields
}

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

func NewReplica(id int, peerAddrList []string, thrifty bool, exec bool, dreply bool) *Replica

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL