MCPcopy Create free account

hub / github.com/YushuaiJi/Distribution-System / functions

Functions376 in github.com/YushuaiJi/Distribution-System

↓ 49 callersMethodjoin
tell the shardmaster that a group is joining.
MIT-6.824/src/shardkv/config.go:303
↓ 40 callersMethodone
do a complete agreement. it might choose the wrong leader initially, and have to re-submit after giving up. entirely gives up after about 10 seconds.
MIT-6.824/src/raft/config.go:426
↓ 36 callersMethodEnable
enable/disable a ClientEnd.
MIT-6.824/src/labrpc/labrpc.go:343
↓ 35 callersFunctioncheck
(t *testing.T, ck *Clerk, key string, value string)
MIT-6.824/src/shardkv/test_test.go:15
↓ 35 callersMethodconnect
attach server i to the net.
MIT-6.824/src/raft/config.go:235
↓ 32 callersFunctionrandstring
(n int)
MIT-6.824/src/shardkv/config.go:20
↓ 29 callersMethoddisconnect
detach server i from the net.
MIT-6.824/src/raft/config.go:258
↓ 28 callersMethodQuery
(num int)
MIT-6.824/src/shardmaster/client.go:31
↓ 27 callersMethodCall
send an RPC, wait for the reply. the return value indicates success; false means that no reply was received from the server.
MIT-6.824/src/labrpc/labrpc.go:84
↓ 26 callersMethodleave
tell the shardmaster that a group is leaving.
MIT-6.824/src/shardkv/config.go:321
↓ 22 callersMethodConnect
connect a ClientEnd to a server. a ClientEnd can only be connected once in its lifetime.
MIT-6.824/src/labrpc/labrpc.go:335
↓ 22 callersMethodMakeEnd
create a client end-point. start the thread that listens and delivers.
MIT-6.824/src/labrpc/labrpc.go:300
↓ 22 callersMethodcheckOneLeader
check that there's exactly one leader. try a few times in case re-elections are needed.
MIT-6.824/src/raft/config.go:298
↓ 19 callersMethodAddService
(svc *Service)
MIT-6.824/src/labrpc/labrpc.go:381
↓ 19 callersMethodmakeClient
()
MIT-6.824/src/shardkv/config.go:115
↓ 17 callersMethodPut
(key string, value string)
MIT-6.824/src/shardkv/client.go:130
↓ 17 callersMethodbegin
start a Test. print the Test message. e.g. cfg.begin("Test (2B): RPC counts aren't too high")
MIT-6.824/src/raft/config.go:478
↓ 16 callersMethodDecode
(e interface{})
MIT-6.824/src/labgob/labgob.go:52
↓ 16 callersMethodShutdownGroup
(gi int)
MIT-6.824/src/shardkv/config.go:194
↓ 16 callersMethodStart
the service using Raft (e.g. a k/v server) wants to start agreement on the next command to be appended to Raft's log. if this server isn't the leader
MIT-6.824/src/raft/raft.go:798
↓ 16 callersMethodcleanup
()
MIT-6.824/src/raft/config.go:224
↓ 16 callersMethodend
end a Test -- the fact that we got here means there was no failure. print the Passed message, and some performance numbers.
MIT-6.824/src/raft/config.go:490
↓ 16 callersFunctionmake_config
(t *testing.T, n int, unreliable bool)
MIT-6.824/src/raft/config.go:59
↓ 15 callersMethodAddServer
(servername interface{}, rs *Server)
MIT-6.824/src/labrpc/labrpc.go:319
↓ 15 callersMethodEncode
(e interface{})
MIT-6.824/src/labgob/labgob.go:32
↓ 15 callersFunctionGenericTest
Basic test is as follows: one or more clients submitting Append/Get operations to set of servers for some period of time. After the period is over, t
MIT-6.824/src/kvraft/test_test.go:151
↓ 15 callersFunctionPut
(cfg *config, ck *Clerk, key string, value string)
MIT-6.824/src/kvraft/test_test.go:27
↓ 14 callersMethodAppend
(key string, value string)
MIT-6.824/src/shardkv/client.go:133
↓ 14 callersMethodCleanup
()
MIT-6.824/src/labrpc/labrpc.go:156
↓ 14 callersFunctioncheck
(cfg *config, t *testing.T, ck *Clerk, key string, value string)
MIT-6.824/src/kvraft/test_test.go:37
↓ 14 callersMethodgetRelativeLogIndex
(index int)
MIT-6.824/src/raft/raft.go:147
↓ 14 callersMethodstart1
start or re-start a Raft. if one already exists, "kill" it first. allocate new outgoing port file names, and a new state persister, to isolate previo
MIT-6.824/src/raft/config.go:135
↓ 13 callersMethodJoin
(servers map[int][]string)
MIT-6.824/src/shardmaster/client.go:48
↓ 13 callersMethodcleanup
()
MIT-6.824/src/shardkv/config.go:79
↓ 13 callersFunctionmake_config
(t *testing.T, n int, unreliable bool, maxraftstate int)
MIT-6.824/src/shardkv/config.go:335
↓ 12 callersMethodStartGroup
(gi int)
MIT-6.824/src/shardkv/config.go:261
↓ 12 callersMethodWait
Wait blocks until the currently scheduled work has completed. This happens when all tasks have scheduled and completed, the final output have been com
MIT-6.824/src/mapreduce/master.go:155
↓ 12 callersFunctiondebug
debug() will only print if debugEnabled is true
MIT-6.824/src/mapreduce/common.go:12
↓ 11 callersMethodLeave
(gids []int)
MIT-6.824/src/shardmaster/client.go:66
↓ 11 callersMethodmakeClient
Create a clerk with clerk specific server names. Give it connections to all of the servers, but for now enable only connections to servers in to[].
MIT-6.824/src/kvraft/config.go:191
↓ 10 callersMethodAll
()
MIT-6.824/src/kvraft/config.go:157
↓ 10 callersFunctionMakeNetwork
()
MIT-6.824/src/labrpc/labrpc.go:130
↓ 10 callersFunctionMakeServer
()
MIT-6.824/src/labrpc/labrpc.go:375
↓ 10 callersFunctionMakeService
(rcvr interface{})
MIT-6.824/src/labrpc/labrpc.go:429
↓ 10 callersFunctioncheck
(t *testing.T, groups []int, ck *Clerk)
MIT-6.824/src/shardmaster/test_test.go:11
↓ 9 callersMethodGetState
return currentTerm and whether this server believes it is the leader.
MIT-6.824/src/raft/raft.go:191
↓ 9 callersMethodStartServer
start i'th server in gi'th group
MIT-6.824/src/shardkv/config.go:201
↓ 8 callersMethodCopy
()
MIT-6.824/src/raft/persister.go:24
↓ 8 callersMethodLogSize
Maximum log size across all servers
MIT-6.824/src/kvraft/config.go:82
↓ 8 callersMethodStartServer
If restart servers, first call ShutdownServer
MIT-6.824/src/kvraft/config.go:287
↓ 8 callersMethodbegin
start a Test. print the Test message. e.g. cfg.begin("Test (2B): RPC counts aren't too high")
MIT-6.824/src/kvraft/config.go:399
↓ 8 callersMethodconvertTo
should be called with a lock
MIT-6.824/src/raft/raft.go:57
↓ 8 callersMethodend
end a Test -- the fact that we got here means there was no failure. print the Passed message, and some performance numbers.
MIT-6.824/src/kvraft/config.go:414
↓ 7 callersMethodReliable
(yes bool)
MIT-6.824/src/labrpc/labrpc.go:160
↓ 7 callersMethodShutdownServer
Shutdown i'th server of gi'th group, by isolating it
MIT-6.824/src/shardkv/config.go:153
↓ 7 callersMethodgetAbsoluteLogIndex
(index int)
MIT-6.824/src/raft/raft.go:152
↓ 7 callersMethodpersist
()
MIT-6.824/src/raft/raft.go:218
↓ 7 callersFunctionport
Cook up a unique-ish UNIX-domain socket name in /var/tmp. can't use current directory since AFS doesn't support UNIX-domain sockets.
MIT-6.824/src/mapreduce/test_test.go:122
↓ 6 callersMethodAll
()
MIT-6.824/src/shardmaster/config.go:130
↓ 6 callersMethodConnectAll
()
MIT-6.824/src/kvraft/config.go:165
↓ 6 callersFunctionDPrintf
(format string, a ...interface{})
MIT-6.824/src/raft/util.go:8
↓ 6 callersFunctionGet
get/put/putappend that keep counts
MIT-6.824/src/kvraft/test_test.go:21
↓ 6 callersMethodGetCount
()
MIT-6.824/src/labrpc/labrpc.go:414
↓ 6 callersMethodRegister
Register is an RPC method that is called by workers after they have started up to report that they are ready to receive tasks.
MIT-6.824/src/mapreduce/master.go:36
↓ 6 callersFunctionRunWorker
RunWorker sets up a connection with the master, registers its address, and waits for tasks to be scheduled.
MIT-6.824/src/mapreduce/worker.go:119
↓ 6 callersFunctioncheck
Checks input file agaist output file: each input number should show up in the output file in string sorted order
MIT-6.824/src/mapreduce/test_test.go:46
↓ 6 callersFunctioncleanup
(mr *Master)
MIT-6.824/src/mapreduce/test_test.go:139
↓ 6 callersMethodcleanup
()
MIT-6.824/src/kvraft/config.go:69
↓ 6 callersFunctionmake_config
(t *testing.T, n int, unreliable bool, maxraftstate int)
MIT-6.824/src/kvraft/config.go:360
↓ 6 callersMethodnCommitted
how many servers think a log entry is committed?
MIT-6.824/src/raft/config.go:359
↓ 5 callersMethodDeleteServer
(servername interface{})
MIT-6.824/src/labrpc/labrpc.go:326
↓ 5 callersMethodRaftStateSize
()
MIT-6.824/src/raft/persister.go:45
↓ 5 callersMethodReadSnapshot
()
MIT-6.824/src/raft/persister.go:60
↓ 5 callersFunctioncheckValue
(value interface{})
MIT-6.824/src/labgob/labgob.go:68
↓ 5 callersFunctioncheckWorker
Workers report back how many RPCs they have processed in the Shutdown reply. Check that they processed at least 1 DoTask RPC.
MIT-6.824/src/mapreduce/test_test.go:90
↓ 5 callersMethodcrash1
shut down a Raft server but save its persistent state.
MIT-6.824/src/raft/config.go:98
↓ 5 callersMethodmastername
master server name for labrpc.
MIT-6.824/src/shardkv/config.go:105
↓ 5 callersMethodpartition
Sets up 2 partitions with connectivity between servers in each partition.
MIT-6.824/src/kvraft/config.go:174
↓ 5 callersFunctionrandTimeDuration
(lower, upper time.Duration)
MIT-6.824/src/raft/raft.go:903
↓ 4 callersFunctionDPrintf
(format string, a ...interface{})
MIT-6.824/src/kvraft/server.go:19
↓ 4 callersFunctioncall
call() sends an RPC to the rpcname handler on server srv with arguments args, waits for the reply, and leaves the reply in reply. the reply argument s
MIT-6.824/src/mapreduce/common_rpc.go:51
↓ 4 callersMethodconnectUnlocked
attach server i to servers listed in to caller must hold cfg.mu
MIT-6.824/src/shardmaster/config.go:80
↓ 4 callersMethodconnectUnlocked
attach server i to servers listed in to caller must hold cfg.mu
MIT-6.824/src/kvraft/config.go:107
↓ 4 callersMethoddisconnectUnlocked
detach server i from the servers listed in from caller must hold cfg.mu
MIT-6.824/src/shardmaster/config.go:104
↓ 4 callersMethoddisconnectUnlocked
detach server i from the servers listed in from caller must hold cfg.mu
MIT-6.824/src/kvraft/config.go:131
↓ 4 callersMethodmakeClient
Create a clerk with clerk specific server names. Give it connections to all of the servers, but for now enable only connections to servers in to[].
MIT-6.824/src/shardmaster/config.go:164
↓ 4 callersFunctionmergeName
mergeName constructs the name of the output file of reduce task <reduceTask>
MIT-6.824/src/mapreduce/common.go:41
↓ 4 callersFunctionremoveFile
removeFile is a simple wrapper around os.Remove that logs errors.
MIT-6.824/src/mapreduce/master_splitmerge.go:54
↓ 4 callersFunctionresetTimer
(timer *time.Timer, d time.Duration)
MIT-6.824/src/raft/raft.go:908
↓ 4 callersMethodservername
shard server name for labrpc. i'th server of group gid.
MIT-6.824/src/shardkv/config.go:111
↓ 4 callersFunctionsetup
()
MIT-6.824/src/mapreduce/test_test.go:132
↓ 4 callersMethodwait
wait for at least n servers to commit. but don't wait forever.
MIT-6.824/src/raft/config.go:385
↓ 3 callersFunctionAppend
(cfg *config, ck *Clerk, key string, value string)
MIT-6.824/src/kvraft/test_test.go:32
↓ 3 callersMethodKill
the tester calls Kill() when a Raft instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient to (for
MIT-6.824/src/raft/raft.go:827
↓ 3 callersFunctionNewDecoder
(r io.Reader)
MIT-6.824/src/labgob/labgob.go:46
↓ 3 callersFunctionNewEncoder
(w io.Writer)
MIT-6.824/src/labgob/labgob.go:26
↓ 3 callersFunctionbitsetIndex
(pos uint)
MIT-6.824/src/linearizability/bitset.go:23
↓ 3 callersMethodbroadcastHeartbeat
should be called with lock
MIT-6.824/src/raft/raft.go:488
↓ 3 callersMethodchecklogs
check that no server's log is too big.
MIT-6.824/src/shardkv/config.go:88
↓ 3 callersMethodencodeRaftState
save Raft's persistent state to stable storage, where it can later be retrieved after a crash and restart. see paper's Figure 2 for a description of
MIT-6.824/src/raft/raft.go:208
next →1–100 of 376, ranked by callers