MCPcopy Create free account

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

Functions376 in github.com/YushuaiJi/Distribution-System

↓ 3 callersFunctioninsertBefore
(n *node, mark *node)
MIT-6.824/src/linearizability/linearizability.go:59
↓ 3 callersFunctionkey2shard
which shard is a key in? please use this function, and please do not change it.
MIT-6.824/src/shardkv/client.go:22
↓ 3 callersFunctionmakeInputs
Make input file
MIT-6.824/src/mapreduce/test_test.go:99
↓ 3 callersMethodop
()
MIT-6.824/src/kvraft/config.go:406
↓ 3 callersFunctionreduceName
reduceName constructs the name of the intermediate file which map task <mapTask> produces for reduce task <reduceTask>.
MIT-6.824/src/mapreduce/common.go:36
↓ 3 callersMethodrpcCount
(server int)
MIT-6.824/src/raft/config.go:280
↓ 3 callersFunctionschedule
schedule() starts and waits for all tasks in the given phase (mapPhase or reducePhase). the mapFiles argument holds the names of the files that are t
MIT-6.824/src/mapreduce/schedule.go:17
↓ 3 callersMethodsetCommitIndex
several setters, should be called with a lock
MIT-6.824/src/raft/raft.go:161
↓ 3 callersMethodsetunreliable
(unrel bool)
MIT-6.824/src/raft/config.go:288
↓ 3 callersFunctionspawn_clients_and_wait
spawn ncli clients and wait until they are all done
MIT-6.824/src/kvraft/test_test.go:55
↓ 2 callersMethodConnectAll
()
MIT-6.824/src/shardmaster/config.go:138
↓ 2 callersMethodConnectClient
(ck *Clerk, to []int)
MIT-6.824/src/kvraft/config.go:232
↓ 2 callersMethodConnectClientUnlocked
caller should hold cfg.mu
MIT-6.824/src/shardmaster/config.go:196
↓ 2 callersMethodConnectClientUnlocked
caller should hold cfg.mu
MIT-6.824/src/kvraft/config.go:223
↓ 2 callersFunctionGenericTestLinearizability
similar to GenericTest, but with clients doing random operations (and using a linearizability checker)
MIT-6.824/src/kvraft/test_test.go:285
↓ 2 callersMethodGet
fetch the current value for a key. returns "" if the key does not exist. keeps trying forever in the face of all other errors. you can send an RPC w
MIT-6.824/src/kvraft/client.go:42
↓ 2 callersMethodGet
fetch the current value for a key. returns "" if the key does not exist. keeps trying forever in the face of all other errors. You will have to modif
MIT-6.824/src/shardkv/client.go:68
↓ 2 callersMethodGetTotalCount
()
MIT-6.824/src/labrpc/labrpc.go:359
↓ 2 callersMethodIsServerDead
(endname interface{}, servername interface{}, server *Server)
MIT-6.824/src/labrpc/labrpc.go:197
↓ 2 callersMethodKill
the tester calls Kill() when a ShardMaster instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient
MIT-6.824/src/shardmaster/server.go:50
↓ 2 callersMethodKill
the tester calls Kill() when a KVServer instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient to
MIT-6.824/src/kvraft/server.go:187
↓ 2 callersFunctionMakePersister
()
MIT-6.824/src/raft/persister.go:20
↓ 2 callersMethodMove
(shard int, gid int)
MIT-6.824/src/shardmaster/client.go:84
↓ 2 callersMethodPut
(key string, value string)
MIT-6.824/src/kvraft/client.go:101
↓ 2 callersMethodPutAppend
shared by Put and Append. you can send an RPC with code like this: ok := ck.servers[i].Call("KVServer.PutAppend", &args, &reply) the types of args
MIT-6.824/src/kvraft/client.go:77
↓ 2 callersMethodPutAppend
shared by Put and Append. You will have to modify this function.
MIT-6.824/src/shardkv/client.go:101
↓ 2 callersMethodReadRaftState
()
MIT-6.824/src/raft/persister.go:39
↓ 2 callersMethodSaveRaftState
(state []byte)
MIT-6.824/src/raft/persister.go:33
↓ 2 callersMethodSaveStateAndSnapshot
Save both Raft state and K/V snapshot as a single atomic action, to help avoid them getting out of sync.
MIT-6.824/src/raft/persister.go:53
↓ 2 callersFunctionSequential
Sequential runs map and reduce tasks sequentially, waiting for each task to complete before running the next.
MIT-6.824/src/mapreduce/master.go:60
↓ 2 callersMethodShutdownServer
Shutdown a server by isolating it
MIT-6.824/src/kvraft/config.go:255
↓ 2 callersMethodSnapshotSize
Maximum snapshot size across all servers
MIT-6.824/src/kvraft/config.go:94
↓ 2 callersMethodStartServer
If restart servers, first call ShutdownServer
MIT-6.824/src/shardmaster/config.go:260
↓ 2 callersFunctioncheckSingle
(model Model, subhistory *node, kill *int32)
MIT-6.824/src/linearizability/linearizability.go:167
↓ 2 callersMethodcheckTerms
check that everyone agrees on the term.
MIT-6.824/src/raft/config.go:331
↓ 2 callersMethodcheckTimeout
()
MIT-6.824/src/kvraft/config.go:62
↓ 2 callersMethodcheckTimeout
()
MIT-6.824/src/raft/config.go:217
↓ 2 callersMethodcleanup
()
MIT-6.824/src/shardmaster/config.go:54
↓ 2 callersFunctiondoMap
( jobName string, // the name of the MapReduce job mapTask int, // which map task this is inFile string, n
MIT-6.824/src/mapreduce/common_map.go:11
↓ 2 callersFunctiondoReduce
( jobName string, // the name of the whole MapReduce job reduceTask int, // which reduce task this is outFi
MIT-6.824/src/mapreduce/common_reduce.go:10
↓ 2 callersFunctionfillDefault
(model Model)
MIT-6.824/src/linearizability/linearizability.go:216
↓ 2 callersMethodhash
()
MIT-6.824/src/linearizability/bitset.go:56
↓ 2 callersMethodinstallSnapshot
(snapshot []byte)
MIT-6.824/src/kvraft/server.go:192
↓ 2 callersFunctioninternalChurn
(t *testing.T, unreliable bool)
MIT-6.824/src/raft/test_test.go:784
↓ 2 callersMethodisDuplicateRequest
should be called with lock
MIT-6.824/src/kvraft/server.go:84
↓ 2 callersMethodjoinm
(gis []int)
MIT-6.824/src/shardkv/config.go:307
↓ 2 callersMethodleavem
(gis []int)
MIT-6.824/src/shardkv/config.go:325
↓ 2 callersFunctionmakeLinkedEntries
(entries []entry)
MIT-6.824/src/linearizability/linearizability.go:109
↓ 2 callersFunctionmake_config
(t *testing.T, n int, unreliable bool)
MIT-6.824/src/shardmaster/config.go:332
↓ 2 callersFunctionnewMaster
newMaster initializes a new Map/Reduce Master
MIT-6.824/src/mapreduce/master.go:49
↓ 2 callersFunctionpartitioner
repartition the servers periodically
MIT-6.824/src/kvraft/test_test.go:122
↓ 2 callersFunctionrandstring
(n int)
MIT-6.824/src/shardmaster/config.go:16
↓ 2 callersFunctionrandstring
(n int)
MIT-6.824/src/kvraft/config.go:19
↓ 2 callersMethodrpcTotal
()
MIT-6.824/src/kvraft/config.go:392
↓ 2 callersMethodrpcTotal
()
MIT-6.824/src/raft/config.go:284
↓ 2 callersMethodrun
run executes a mapreduce job on the given number of mappers and reducers. First, it divides up the input file among the given number of mappers, and
MIT-6.824/src/mapreduce/master.go:132
↓ 2 callersMethodset
(pos uint)
MIT-6.824/src/linearizability/bitset.go:27
↓ 2 callersMethodstartElection
should be called with lock
MIT-6.824/src/raft/raft.go:586
↓ 2 callersMethodsyncSnapshotWith
invoke by Leader to sync snapshot with one follower
MIT-6.824/src/raft/raft.go:705
↓ 2 callersFunctionusage
()
MIT-6.824/src/main/diskvd.go:25
↓ 2 callersFunctionusage
()
MIT-6.824/src/main/lockc.go:11
↓ 2 callersMethodwaitApplying
(op Op, timeout time.Duration)
MIT-6.824/src/kvraft/server.go:92
↓ 1 callersMethodAppend
(key string, value string)
MIT-6.824/src/kvraft/client.go:104
↓ 1 callersFunctionCheckEventsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
MIT-6.824/src/linearizability/linearizability.go:278
↓ 1 callersFunctionCheckOperationsTimeout
timeout = 0 means no timeout if this operation times out, then a false positive is possible
MIT-6.824/src/linearizability/linearizability.go:235
↓ 1 callersMethodCleanupFiles
CleanupFiles removes all intermediate files produced by running mapreduce.
MIT-6.824/src/mapreduce/master_splitmerge.go:62
↓ 1 callersMethodDisconnectClientUnlocked
caller should hold cfg.mu
MIT-6.824/src/shardmaster/config.go:212
↓ 1 callersMethodDisconnectClientUnlocked
caller should hold cfg.mu
MIT-6.824/src/kvraft/config.go:239
↓ 1 callersFunctionDistributed
Distributed schedules map and reduce tasks on workers that register with the master over RPC.
MIT-6.824/src/mapreduce/master.go:105
↓ 1 callersMethodEncodeValue
(value reflect.Value)
MIT-6.824/src/labgob/labgob.go:37
↓ 1 callersMethodGetRaftStateSize
()
MIT-6.824/src/raft/raft.go:230
↓ 1 callersMethodKill
the tester calls Kill() when a ShardKV instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient to (
MIT-6.824/src/shardkv/server.go:46
↓ 1 callersMethodLeader
()
MIT-6.824/src/shardmaster/config.go:299
↓ 1 callersMethodLeader
()
MIT-6.824/src/kvraft/config.go:325
↓ 1 callersMethodLongDelays
(yes bool)
MIT-6.824/src/labrpc/labrpc.go:174
↓ 1 callersMethodLongReordering
(yes bool)
MIT-6.824/src/labrpc/labrpc.go:167
↓ 1 callersFunctionMake
the service or tester wants to create a Raft server. the ports of all the Raft servers (including this one) are in peers[]. this server's port is pee
MIT-6.824/src/raft/raft.go:842
↓ 1 callersFunctionMakeClerk
(servers []*labrpc.ClientEnd)
MIT-6.824/src/shardmaster/client.go:24
↓ 1 callersFunctionMakeClerk
(servers []*labrpc.ClientEnd)
MIT-6.824/src/kvraft/client.go:22
↓ 1 callersFunctionMakeClerk
the tester calls MakeClerk. masters[] is needed to call shardmaster.MakeClerk(). make_end(servername) turns a server name from a Config.Groups[gid]
MIT-6.824/src/shardkv/client.go:54
↓ 1 callersFunctionNextValue
predict effect of Append(k, val) if old value is prev.
MIT-6.824/src/kvraft/test_test.go:72
↓ 1 callersMethodProcessReq
(req reqMsg)
MIT-6.824/src/labrpc/labrpc.go:207
↓ 1 callersMethodRaft
needed by shardkv tester
MIT-6.824/src/shardmaster/server.go:56
↓ 1 callersMethodReadEndnameInfo
(endname interface{})
MIT-6.824/src/labrpc/labrpc.go:181
↓ 1 callersFunctionRegister
(value interface{})
MIT-6.824/src/labgob/labgob.go:58
↓ 1 callersMethodReplaceLogWithSnapshot
(appliedIndex int, kvSnapshot []byte)
MIT-6.824/src/raft/raft.go:234
↓ 1 callersMethodShutdownServer
Shutdown a server by isolating it
MIT-6.824/src/shardmaster/config.go:228
↓ 1 callersFunctionStartKVServer
servers[] contains the ports of the set of servers that will cooperate via Raft to form the fault-tolerant key/value service. me is the index of the
MIT-6.824/src/kvraft/server.go:219
↓ 1 callersMethodStartMasterServer
(i int)
MIT-6.824/src/shardkv/config.go:267
↓ 1 callersFunctionStartServer
servers[] contains the ports of the set of servers that will cooperate via Paxos to form the fault-tolerant shardmaster service. me is the index of t
MIT-6.824/src/shardmaster/server.go:66
↓ 1 callersFunctionStartServer
servers[] contains the ports of the servers in this group. me is the index of the current server in servers[]. the k/v server should store snapshot
MIT-6.824/src/shardkv/server.go:80
↓ 1 callersFunctioncacheContains
(model Model, cache map[uint64][]cacheEntry, entry cacheEntry)
MIT-6.824/src/linearizability/linearizability.go:133
↓ 1 callersFunctioncheckClntAppends
check that for a specific client all known appends are present in a value, and in order
MIT-6.824/src/kvraft/test_test.go:78
↓ 1 callersFunctioncheckConcurrentAppends
check that all known appends are present in a value, and are in order for each concurrent client.
MIT-6.824/src/kvraft/test_test.go:99
↓ 1 callersFunctioncheckDefault
warn if the value contains non-default values, as it would if one sent an RPC but the reply struct was already modified. if the RPC reply contains de
MIT-6.824/src/labgob/labgob.go:122
↓ 1 callersFunctioncheckDefault1
(value reflect.Value, depth int, name string)
MIT-6.824/src/labgob/labgob.go:129
↓ 1 callersMethodcheckNoLeader
check that there's no leader
MIT-6.824/src/raft/config.go:347
↓ 1 callersMethodcheckTimeout
()
MIT-6.824/src/shardmaster/config.go:47
↓ 1 callersMethodcheckTimeout
()
MIT-6.824/src/shardkv/config.go:72
↓ 1 callersFunctioncheckType
(t reflect.Type)
MIT-6.824/src/labgob/labgob.go:72
← previousnext →101–200 of 376, ranked by callers