MCPcopy Create free account

hub / github.com/ailidani/paxi / functions

Functions575 in github.com/ailidani/paxi

↓ 1 callersFunctionNewStack
NewStack creates a new Stack
lib/stack.go:14
↓ 1 callersMethodNext
Next generates the next block given some data
blockchain/block.go:32
↓ 1 callersMethodPartition
(int, ...ID)
client.go:30
↓ 1 callersMethodQuorumGet
QuorumGet concurrently read values from majority nodes
client.go:202
↓ 1 callersMethodReadFile
ReadFile reads csv log file and create operations in history
history.go:116
↓ 1 callersMethodRemoveEdge
(from, to interface{})
lib/graph.go:63
↓ 1 callersFunctionRetry
Retry function f sleep time between attempts
util.go:32
↓ 1 callersMethodRetry
(r Request)
node.go:18
↓ 1 callersFunctionRunClient
(t *testing.T, port string)
http_test.go:40
↓ 1 callersFunctionRunServer
(t *testing.T, port string)
http_test.go:13
↓ 1 callersFunctionSchedule
Schedule repeatedly call function with intervals
util.go:51
↓ 1 callersMethodScheme
()
transport.go:95
↓ 1 callersFunctionSetup
Setup setup log format and output file
log/log.go:114
↓ 1 callersMethodSize
Size returns current ack size
quorum.go:43
↓ 1 callersMethodSlice
()
lib/set.go:22
↓ 1 callersMethodString
String is implemented to print the config
config.go:87
↓ 1 callersMethodString
()
vpaxos/msg.go:74
↓ 1 callersMethodString
()
wankeeper/msg.go:68
↓ 1 callersMethodTo
To returns all vertices that can reach to v
lib/graph.go:81
↓ 1 callersFunctionWarning
(v ...interface{})
log/log.go:152
↓ 1 callersMethodbytes
()
blockchain/block.go:65
↓ 1 callersMethodclear
()
checker.go:39
↓ 1 callersMethodconcurrent
(b operation)
operation.go:17
↓ 1 callersMethodexecute
()
epaxos/replica.go:356
↓ 1 callersMethodforward
(r *paxi.Request)
wankeeper/leader.go:38
↓ 1 callersMethodget
(key paxi.Key)
wankeeper/tokens.go:33
↓ 1 callersMethodhandle
handle receives messages from message channel and calls handle function using refection
node.go:104
↓ 1 callersMethodhandleCommit
(m Commit)
wankeeper/leader.go:147
↓ 1 callersMethodhandleMove
(v Move)
vpaxos/master.go:53
↓ 1 callersMethodhandleRequest
(m paxi.Request)
vpaxos/replica.go:63
↓ 1 callersMethodhandleRequest
(m paxi.Request)
vpaxos/paxos.go:48
↓ 1 callersMethodhash
DHT
dynamo/replica.go:36
↓ 1 callersMethodhttp
serve serves the http REST API request from clients
http.go:24
↓ 1 callersFunctionindex
static paxos groups
paxos_group/replica.go:31
↓ 1 callersFunctionindex
TODO replace this with a consistent hash ring
kpaxos/replica.go:32
↓ 1 callersMethodlead
(r *paxi.Request)
wankeeper/master.go:24
↓ 1 callersMethodmatch
match finds the first matching write operation to the given read operation
checker.go:44
↓ 1 callersMethodmerge
matched write inherits edges read
checker.go:55
↓ 1 callersMethodmerge
merge the seq and dep for instance
epaxos/instance.go:29
↓ 1 callersMethodmonitor
(k paxi.Key, id paxi.ID)
vpaxos/replica.go:43
↓ 1 callersFunctionnewKPaxos
(key paxi.Key, node paxi.Node)
m2paxos/kpaxos.go:23
↓ 1 callersFunctionnewKPaxos
(key paxi.Key, node paxi.Node)
wpaxos/kpaxos.go:29
↓ 1 callersFunctionnewLeader
(r *Replica)
wankeeper/leader.go:18
↓ 1 callersFunctionnewMaster
(r *Replica)
vpaxos/master.go:16
↓ 1 callersFunctionnewMaster
(l *leader)
wankeeper/master.go:13
↓ 1 callersFunctionnewPaxos
(node paxi.Node)
vpaxos/paxos.go:30
↓ 1 callersFunctionnewTokens
(id paxi.ID)
wankeeper/tokens.go:13
↓ 1 callersMethodreadAny
(key paxi.Key)
paxos/client.go:132
↓ 1 callersMethodreadInProgress
(m paxi.Request)
paxos/replica.go:68
↓ 1 callersMethodreadLeader
(key paxi.Key)
paxos/client.go:54
↓ 1 callersMethodreadQuorum
(key paxi.Key)
paxos/client.go:69
↓ 1 callersMethodrecv
recv receives messages from socket and pass to message channel
node.go:79
↓ 1 callersMethodreset
()
policy.go:96
↓ 1 callersMethodsearch
(hash []byte)
lib/hash_ring.go:53
↓ 1 callersMethodstrongConnect
strongConnect runs Tarjan's algorithm recursivley and outputs a grouping of strongly connected vertices.
lib/graph_scc.go:35
↓ 1 callersMethodupdate
(scb map[int]CommandBallot)
paxos/paxos.go:164
↓ 1 callersFunctionusage
()
cmd/cmd.go:21
↓ 1 callersFunctionworker
(tasks <-chan int)
rate_test.go:12
MethodADD
ADD increase ack size by one
quorum.go:38
MethodAdd
Add puts an operation in History
history.go:32
MethodArray
()
lib/cset.go:52
MethodBFSReverse
(v interface{})
lib/graph.go:135
FunctionBenchmarkCodecGob
(b *testing.B)
codec_test.go:45
FunctionBenchmarkCodecJSON
(b *testing.B)
codec_test.go:62
MethodBroadcast
(m interface{})
socket.go:158
MethodBroadcast
Broadcast overrides Socket interface in Node
paxos_group/replica.go:81
MethodBroadcast
Broadcast overrides Socket interface in Node
m2paxos/kpaxos.go:45
MethodBroadcast
Broadcast overrides Socket interface in Node
wpaxos/kpaxos.go:51
MethodClear
()
lib/set.go:30
MethodClose
()
transport.go:90
MethodClose
()
socket.go:168
FunctionConflictBatch
ConflictBatch checks if two batchs of commands are conflict
db.go:175
MethodConsensus
Consensus collects /history/key from every node and compare their values
client.go:288
MethodContains
(key interface{})
lib/cmap.go:30
MethodCrash
(t int)
socket.go:201
MethodCrash
(ID, int)
client.go:28
MethodCrash
Crash stops the node for t seconds then recover node crash forever if t < 0
client.go:333
MethodDFS
DFS returns depth first search vertices from a given source
lib/graph.go:111
MethodDecode
(m interface{})
codec.go:52
MethodDecode
(m interface{})
codec.go:75
MethodDial
()
transport.go:99
MethodDial
()
transport.go:176
MethodDial
()
transport.go:249
MethodDrop
(id ID, t int)
socket.go:174
MethodDrop
(ID, ID, int)
client.go:29
MethodEncode
(m interface{})
codec.go:45
MethodEncode
(m interface{})
codec.go:68
MethodExecute
Execute is the state-transition function returns current state value if state unchanged or previous state value
state_machine.go:7
MethodExecute
* // Execute implements StateMachine interface func (d *database) Execute(c interface{}) interface{} { cmd, ok := c.(Command) if !ok { log.Error("
db.go:103
MethodFlaky
delays every message send to ID for d ms and last for t seconds
socket.go:34
MethodFlaky
(id ID, p float64, t int)
socket.go:192
MethodForward
* func (n *node) Forward(id ID, m Request) { key := m.Command.Key url := config.HTTPAddrs[id] + "/" + strconv.Itoa(int(key)) log.Debugf("Node %v f
node.go:165
MethodGet
Get gets the current value and version of given key
db.go:117
MethodGet
Get gets value of given key (use REST) Default implementation of Client interface
client.go:69
MethodGet
Get implements paxi.Client interface there are three reading modes: (1) read as normal command (2) read from leader with current ballot number (3) rea
paxos/client.go:27
MethodGet
(key interface{}, version interface{})
lib/mmap.go:40
MethodGet
Get returns random element from set
lib/cset.go:24
MethodGet
(key interface{})
lib/cmap.go:18
MethodGet
Get returns the node value that given k belongs to
lib/hash_ring.go:63
MethodGet
()
log/log.go:31
← previousnext →201–300 of 575, ranked by callers