Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdrianHsu/MIT-6.824-Lab
/ functions
Functions
418 in github.com/AdrianHsu/MIT-6.824-Lab
⨍
Functions
418
◇
Types & classes
121
↓ 2 callers
Method
isunreliable
()
hw4/src/kvpaxos/server.go:189
↓ 2 callers
Method
isunreliable
()
hw4/src/shardkv/server.go:482
↓ 2 callers
Method
isunreliable
()
hw4/src/pbservice/server.go:77
↓ 2 callers
Method
isunreliable
()
hw2/src/pbservice/server.go:305
↓ 2 callers
Method
isunreliable
()
hw3/src/paxos/paxos.go:593
↓ 2 callers
Method
isunreliable
()
hw3/src/kvpaxos/server.go:246
↓ 2 callers
Method
isunreliable
()
hw3/src/pbservice/server.go:77
↓ 2 callers
Method
kill
tell the server to shut itself down. please do not change these two functions.
hw4/src/kvpaxos/server.go:168
↓ 2 callers
Method
kill
tell the server to shut itself down. please do not change these two functions.
hw3/src/kvpaxos/server.go:225
↓ 2 callers
Method
leave
(gi int)
hw4/src/shardkv/test_test.go:81
↓ 2 callers
Function
nrand
()
hw3/src/kvpaxos/client.go:17
↓ 2 callers
Function
port
(tag string, host int)
hw4/src/shardkv/test_test.go:32
↓ 2 callers
Function
proxy
(t *testing.T, port string, delay *int32)
hw4/src/pbservice/test_test.go:890
↓ 2 callers
Function
proxy
(t *testing.T, port string, delay *int32)
hw2/src/pbservice/test_test.go:896
↓ 2 callers
Function
proxy
(t *testing.T, port string, delay *int32)
hw3/src/pbservice/test_test.go:890
↓ 2 callers
Method
setunreliable
please do not change these two functions.
hw4/src/kvpaxos/server.go:181
↓ 2 callers
Method
setunreliable
please do not change these two functions.
hw3/src/kvpaxos/server.go:238
↓ 2 callers
Method
shardclerk
()
hw4/src/shardkv/test_test.go:69
↓ 1 callers
Method
AcceptorAccept
added by Adrian acceptor's accept(n, v) handler
hw4/src/paxos/paxos.go:384
↓ 1 callers
Method
AcceptorAccept
added by Adrian acceptor's accept(n, v) handler
hw3/src/paxos/paxos.go:384
↓ 1 callers
Method
AcceptorDecided
added by Adrian acceptor's decided(v) handler
hw4/src/paxos/paxos.go:413
↓ 1 callers
Method
AcceptorDecided
added by Adrian acceptor's decided(v) handler
hw3/src/paxos/paxos.go:413
↓ 1 callers
Method
AcceptorPrepare
ACCEPTOR PART ////// added by Adrian acceptor's prepare(n) handler
hw4/src/paxos/paxos.go:352
↓ 1 callers
Method
AcceptorPrepare
ACCEPTOR PART ////// added by Adrian acceptor's prepare(n) handler
hw3/src/paxos/paxos.go:352
↓ 1 callers
Method
Apply
(op Op)
hw4/src/shardmaster/server.go:130
↓ 1 callers
Method
Apply
(op Op)
hw4/src/kvpaxos/server.go:57
↓ 1 callers
Method
Apply
Hint: Don't directly update the stored key/value database in the Put/Append/Get handlers; instead, attempt to append a Put, Append, or Get operation t
hw4/src/shardkv/server.go:102
↓ 1 callers
Method
Bootstrapping
edited by Adrian initiate by the primary when it found that it's time to bootstrap the new backup since that the current view has not yet changed. so
hw2/src/pbservice/server.go:59
↓ 1 callers
Method
CleanupFiles
()
hw1/src/mapreduce/mapreduce.go:345
↓ 1 callers
Method
CleanupRegistration
()
hw1/src/mapreduce/mapreduce.go:373
↓ 1 callers
Method
CommittedToWhom
added by Adrian now that in the prepare phase, this proposal didn't satisfy the majority. we want to find out who is the precedent proposer.
hw4/src/paxos/paxos.go:199
↓ 1 callers
Method
CommittedToWhom
added by Adrian now that in the prepare phase, this proposal didn't satisfy the majority. we want to find out who is the precedent proposer.
hw3/src/paxos/paxos.go:199
↓ 1 callers
Method
Forget
added by Adrian remove those instances whose seq is less than `min`
hw4/src/paxos/paxos.go:484
↓ 1 callers
Method
Forget
added by Adrian remove those instances whose seq is less than `min`
hw3/src/paxos/paxos.go:484
↓ 1 callers
Method
KillWorkers
Clean up all workers by sending a Shutdown RPC to each one of them Collect the number of jobs each work has performed.
hw1/src/mapreduce/master.go:18
↓ 1 callers
Function
MakeClerk
(shardmasters []string)
hw4/src/shardkv/client.go:28
↓ 1 callers
Function
MakeMapReduce
(nmap int, nreduce int, file string, master string)
hw1/src/mapreduce/mapreduce.go:99
↓ 1 callers
Function
Map
our simplified version of MapReduce does not supply a key to the Map function, as in the paper; only a value, which is a part of the input file conten
hw1/src/main/wc.go:19
↓ 1 callers
Method
Migrate
(shard int)
hw4/src/shardkv/server.go:327
↓ 1 callers
Method
ProposerAccept
added by Adrian
hw4/src/paxos/paxos.go:269
↓ 1 callers
Method
ProposerAccept
added by Adrian
hw3/src/paxos/paxos.go:269
↓ 1 callers
Method
ProposerPrepare
added by Adrian
hw4/src/paxos/paxos.go:205
↓ 1 callers
Method
ProposerPrepare
added by Adrian
hw3/src/paxos/paxos.go:205
↓ 1 callers
Method
ProposerPropose
PROPOSER PART ////// added by Adrian main proposer function. The proposer has only 1 function.
hw4/src/paxos/paxos.go:114
↓ 1 callers
Method
ProposerPropose
PROPOSER PART ////// added by Adrian main proposer function. The proposer has only 1 function.
hw3/src/paxos/paxos.go:114
↓ 1 callers
Function
Reduce
called once for each key generated by Map, with a list of that key's string value. should return a single output value for that key.
hw1/src/main/wc.go:36
↓ 1 callers
Function
Register
Tell the master we exist and ready to work
hw1/src/mapreduce/worker.go:50
↓ 1 callers
Method
Run
Run jobs in parallel, assuming a shared file system
hw1/src/mapreduce/mapreduce.go:384
↓ 1 callers
Method
RunMaster
()
hw1/src/mapreduce/master.go:118
↓ 1 callers
Method
Setunreliable
please do not change these two functions.
hw4/src/shardkv/server.go:474
↓ 1 callers
Method
StartRegistrationServer
()
hw1/src/mapreduce/mapreduce.go:121
↓ 1 callers
Function
StartServer
(me string)
hw4/src/viewservice/server.go:76
↓ 1 callers
Function
StartServer
Start a shardkv server. gid is the ID of the server's replica group. shardmasters[] contains the ports of the servers that implement the shardmaster.
hw4/src/shardkv/server.go:495
↓ 1 callers
Function
StartServer
(me string)
hw2/src/viewservice/server.go:233
↓ 1 callers
Function
StartServer
(me string)
hw3/src/viewservice/server.go:76
↓ 1 callers
Method
Wait
(seq int)
hw4/src/shardmaster/server.go:163
↓ 1 callers
Method
Wait
(seq int)
hw4/src/shardkv/server.go:155
↓ 1 callers
Function
allocate
(mr *MapReduce)
hw1/src/mapreduce/master.go:41
↓ 1 callers
Method
assignRole
edited by Adrian
hw2/src/viewservice/server.go:167
↓ 1 callers
Function
checkAppends
check that all known appends are present in a value, and are in order for each concurrent client.
hw4/src/kvpaxos/test_test.go:342
↓ 1 callers
Function
checkAppends
check that all known appends are present in a value, and are in order for each concurrent client.
hw3/src/kvpaxos/test_test.go:344
↓ 1 callers
Function
checkmax
(t *testing.T, pxa []*Paxos, seq int, max int)
hw4/src/paxos/test_test.go:72
↓ 1 callers
Function
checkmax
(t *testing.T, pxa []*Paxos, seq int, max int)
hw3/src/paxos/test_test.go:75
↓ 1 callers
Method
doGet
added by Adrian
hw3/src/kvpaxos/server.go:157
↓ 1 callers
Function
doMap
(mr *MapReduce)
hw1/src/mapreduce/master.go:50
↓ 1 callers
Function
doReduce
(mr *MapReduce)
hw1/src/mapreduce/master.go:72
↓ 1 callers
Function
ihash
(s string)
hw1/src/mapreduce/mapreduce.go:200
↓ 1 callers
Function
makeInput
Make input file
hw1/src/mapreduce/test_test.go:96
↓ 1 callers
Function
mapCountFinishJobs
(mr *MapReduce)
hw1/src/mapreduce/master.go:93
↓ 1 callers
Function
nrand
()
hw4/src/kvpaxos/client.go:19
↓ 1 callers
Function
nrand
()
hw4/src/shardkv/client.go:21
↓ 1 callers
Function
nrand
this may come in handy.
hw2/src/pbservice/client.go:21
↓ 1 callers
Function
randstring
(n int)
hw4/src/paxos/test_test.go:14
↓ 1 callers
Function
randstring
(n int)
hw3/src/paxos/test_test.go:16
↓ 1 callers
Function
reduceCountFinishJobs
(mr *MapReduce)
hw1/src/mapreduce/master.go:105
↓ 1 callers
Function
setupWorkers
(mr *MapReduce)
hw1/src/mapreduce/master.go:34
↓ 1 callers
Method
start1
start a k/v replica server thread.
hw4/src/shardkv/test_test.go:46
↓ 1 callers
Method
tick
tick() is called once per PingInterval; it should notice if servers have died or recovered, and change the view accordingly.
hw4/src/viewservice/server.go:49
↓ 1 callers
Method
tick
Ask the shardmaster if there's a new configuration; if so, re-configure.
hw4/src/shardkv/server.go:385
↓ 1 callers
Method
tick
ping the viewserver periodically. if view changed: transition to new view. manage transfer of state from primary to new backup.
hw4/src/pbservice/server.go:51
↓ 1 callers
Method
tick
tick() is called once per PingInterval; it should notice if servers have died or recovered, and change the view accordingly.
hw2/src/viewservice/server.go:194
↓ 1 callers
Method
tick
ping the viewserver periodically. if view changed: transition to new view. manage transfer of state from primary to new backup.
hw2/src/pbservice/server.go:272
↓ 1 callers
Method
tick
tick() is called once per PingInterval; it should notice if servers have died or recovered, and change the view accordingly.
hw3/src/viewservice/server.go:49
↓ 1 callers
Method
tick
ping the viewserver periodically. if view changed: transition to new view. manage transfer of state from primary to new backup.
hw3/src/pbservice/server.go:51
↓ 1 callers
Function
usage
()
hw4/src/main/pbc.go:24
↓ 1 callers
Function
usage
()
hw2/src/main/pbc.go:24
↓ 1 callers
Function
usage
()
hw3/src/main/pbc.go:24
Method
Bootstrap
(other *ShardState)
hw4/src/shardkv/server.go:80
Method
Bootstrapped
edited by Adrian the new backup got bootstrapped.
hw2/src/pbservice/server.go:42
Function
DPrintf
(format string, a ...interface{})
hw4/src/kvpaxos/server.go:23
Function
DPrintf
(format string, a ...interface{})
hw4/src/shardkv/server.go:23
Function
DPrintf
(format string, a ...interface{})
hw3/src/kvpaxos/server.go:21
Method
DoJob
The master sent us a job
hw1/src/mapreduce/worker.go:24
Method
Forward
edited by Adrian to leverage determinism of the state machine forward any state necessary for backup to `mimic` the execution do exactly the same PutA
hw2/src/pbservice/server.go:103
Method
ForwardGet
edited by Adrian to leverage determinism of the state machine the backup got a Get request forwarded by the primary
hw2/src/pbservice/server.go:80
Method
Get
(args *GetArgs, reply *GetReply)
hw4/src/kvpaxos/server.go:121
Method
Get
server Get() RPC handler.
hw4/src/viewservice/server.go:36
Method
Get
(args *GetArgs, reply *GetReply)
hw4/src/shardkv/server.go:196
Method
Get
(args *GetArgs, reply *GetReply)
hw4/src/pbservice/server.go:28
Method
Get
server Get() RPC handler.
hw2/src/viewservice/server.go:96
← previous
next →
201–300 of 418, ranked by callers