MCPcopy Create free account

hub / github.com/WenbinZhu/mit-6.824-labs / functions

Functions386 in github.com/WenbinZhu/mit-6.824-labs

FunctionTestCapital
make sure we check capitalization labgob prints one warning during this test.
src/labgob/test_test.go:119
FunctionTestChallenge1Concurrent
(t *testing.T)
src/shardkv/test_test.go:744
FunctionTestChallenge1Delete
optional test to see whether servers are deleting shards for which they are no longer responsible.
src/shardkv/test_test.go:663
FunctionTestChallenge2Partial
optional test to see whether servers can handle operations on shards that have been received as a part of a config migration when the entire migratio
src/shardkv/test_test.go:887
FunctionTestChallenge2Unaffected
optional test to see whether servers can handle shards that are not affected by a config change while the config change is underway
src/shardkv/test_test.go:817
FunctionTestConcurrent1
(t *testing.T)
src/shardkv/test_test.go:297
FunctionTestConcurrent2
this tests the various sources from which a re-starting group might need to fetch shard contents.
src/shardkv/test_test.go:378
FunctionTestConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:453
FunctionTestConcurrentMany
test RPCs from concurrent ClientEnds
src/labrpc/test_test.go:275
FunctionTestConcurrentOne
test concurrent RPCs from a single ClientEnd
src/labrpc/test_test.go:386
FunctionTestConcurrentStarts2B
(t *testing.T)
src/raft/test_test.go:232
FunctionTestCount2B
(t *testing.T)
src/raft/test_test.go:443
FunctionTestCounts
test net.GetCount()
src/labrpc/test_test.go:185
FunctionTestDefault
check that we warn when someone sends a default value over RPC but the target into which we're decoding holds a non-default value, which GOB seems no
src/labgob/test_test.go:146
FunctionTestDisconnect
does net.Enable(endname, false) really disconnect a client?
src/labrpc/test_test.go:146
FunctionTestFailAgree2B
(t *testing.T)
src/raft/test_test.go:147
FunctionTestFailNoAgree2B
(t *testing.T)
src/raft/test_test.go:181
FunctionTestFigure82C
Test the scenarios described in Figure 8 of the extended Raft paper. Each iteration asks a leader, if there is one, to insert a command in the Raft l
src/raft/test_test.go:685
FunctionTestFigure8Unreliable2C
(t *testing.T)
src/raft/test_test.go:770
FunctionTestGOB
test that we didn't break GOB.
src/labgob/test_test.go:27
FunctionTestInitialElection2A
(t *testing.T)
src/raft/test_test.go:22
FunctionTestJoinLeave
(t *testing.T)
src/shardkv/test_test.go:90
FunctionTestKilled
if an RPC is stuck in a server, and the server is killed with DeleteServer(), does the RPC get un-stuck?
src/labrpc/test_test.go:523
FunctionTestManyPartitionsManyClients3A
(t *testing.T)
src/kvraft/test_test.go:578
FunctionTestManyPartitionsOneClient3A
(t *testing.T)
src/kvraft/test_test.go:573
FunctionTestMissChange
(t *testing.T)
src/shardkv/test_test.go:211
FunctionTestMulti
(t *testing.T)
src/shardmaster/test_test.go:252
FunctionTestOnePartition3A
Submit a request in the minority partition and check that the requests doesn't go through until the partition heals. The leader in the original netwo
src/kvraft/test_test.go:498
FunctionTestPersist12C
(t *testing.T)
src/raft/test_test.go:553
FunctionTestPersist22C
(t *testing.T)
src/raft/test_test.go:599
FunctionTestPersist32C
(t *testing.T)
src/raft/test_test.go:645
FunctionTestPersistConcurrent3A
(t *testing.T)
src/kvraft/test_test.go:588
FunctionTestPersistConcurrentUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:593
FunctionTestPersistOneClient3A
(t *testing.T)
src/kvraft/test_test.go:583
FunctionTestPersistPartition3A
(t *testing.T)
src/kvraft/test_test.go:598
FunctionTestPersistPartitionUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:603
FunctionTestPersistPartitionUnreliableLinearizable3A
(t *testing.T)
src/kvraft/test_test.go:608
FunctionTestRPCBytes2B
check, based on counting bytes of RPCs, that each command is sent to each peer just once.
src/raft/test_test.go:116
FunctionTestReElection2A
(t *testing.T)
src/raft/test_test.go:53
FunctionTestRegression1
regression: an RPC that's delayed during Enabled=false should not delay subsequent RPCs (e.g. after Enabled=true).
src/labrpc/test_test.go:448
FunctionTestRejoin2B
(t *testing.T)
src/raft/test_test.go:333
FunctionTestReliableChurn2C
(t *testing.T)
src/raft/test_test.go:970
FunctionTestSnapshot
(t *testing.T)
src/shardkv/test_test.go:143
FunctionTestSnapshotRPC3B
if one server falls behind, then rejoins, does it recover by using the InstallSnapshot RPC? also checks that majority discards committed log entries
src/kvraft/test_test.go:619
FunctionTestSnapshotRecover3B
(t *testing.T)
src/kvraft/test_test.go:709
FunctionTestSnapshotRecoverManyClients3B
(t *testing.T)
src/kvraft/test_test.go:714
FunctionTestSnapshotSize3B
are the snapshots not too huge? 500 bytes is a generous bound for the operations we're doing here.
src/kvraft/test_test.go:676
FunctionTestSnapshotUnreliable3B
(t *testing.T)
src/kvraft/test_test.go:719
FunctionTestSnapshotUnreliableRecover3B
(t *testing.T)
src/kvraft/test_test.go:724
FunctionTestSnapshotUnreliableRecoverConcurrentPartition3B
(t *testing.T)
src/kvraft/test_test.go:729
FunctionTestSnapshotUnreliableRecoverConcurrentPartitionLinearizable3B
(t *testing.T)
src/kvraft/test_test.go:734
FunctionTestStaticShards
test static 2-way sharding, without shard movement.
src/shardkv/test_test.go:26
FunctionTestTypes
(t *testing.T)
src/labrpc/test_test.go:104
FunctionTestUnreliable
test unreliable
src/labrpc/test_test.go:333
FunctionTestUnreliable1
(t *testing.T)
src/shardkv/test_test.go:449
FunctionTestUnreliable2
(t *testing.T)
src/shardkv/test_test.go:491
FunctionTestUnreliable3
(t *testing.T)
src/shardkv/test_test.go:554
FunctionTestUnreliable3A
(t *testing.T)
src/kvraft/test_test.go:458
FunctionTestUnreliableAgree2C
(t *testing.T)
src/raft/test_test.go:741
FunctionTestUnreliableChurn2C
(t *testing.T)
src/raft/test_test.go:974
FunctionTestUnreliableOneKey3A
(t *testing.T)
src/kvraft/test_test.go:463
FunctionVisualizePath
(model Model, info linearizationInfo, path string)
src/porcupine/visualization.go:96
FunctionWorker
main/mrworker.go calls this function.
src/mr/worker.go:42
Methodconnect
(i int, to []int)
src/shardmaster/config.go:96
Methodconnect
(i int, to []int)
src/kvraft/config.go:123
MethoddeleteClient
(ck *Clerk)
src/shardmaster/config.go:184
MethoddeleteClient
(ck *Clerk)
src/shardkv/config.go:141
Methoddisconnect
(i int, from []int)
src/shardmaster/config.go:124
Methoddisconnect
(i int, from []int)
src/kvraft/config.go:151
Methoddispatch
(methname string, req reqMsg)
src/labrpc/labrpc.go:476
Methodget
(pos uint)
src/porcupine/bitset.go:41
Methodkilled
()
src/kvraft/server.go:195
Functionmain
()
src/main/viewd.go:12
Functionmain
()
src/main/pbc.go:31
Functionmain
()
src/main/lockd.go:19
Functionmain
()
src/main/diskvd.go:30
Functionmain
()
src/main/lockc.go:16
Functionmain
()
src/main/mrmaster.go:17
Functionmain
()
src/main/pbd.go:12
Functionmain
()
src/main/mrsequential.go:25
Functionmain
()
src/main/mrworker.go:19
Methodmake_partition
Partition servers into 2 groups and put current leader in minority
src/shardmaster/config.go:313
Functionnrand
()
src/shardmaster/client.go:17
Functionnrand
()
src/shardkv/client.go:31
Methodpartition
Sets up 2 partitions with connectivity between servers in each partition.
src/shardmaster/config.go:147
Functionrandom_handles
Randomize server handles
src/shardkv/config.go:35
← previous301–386 of 386, ranked by callers