Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YushuaiJi/Distribution-System
/ types & classes
Types & classes
83 in github.com/YushuaiJi/Distribution-System
⨍
Functions
376
◇
Types & classes
83
↓ 3 callers
TypeAlias
NodeState
MIT-6.824/src/raft/raft.go:36
↓ 2 callers
TypeAlias
bitset
MIT-6.824/src/linearizability/bitset.go:3
↓ 1 callers
TypeAlias
byTime
MIT-6.824/src/linearizability/linearizability.go:23
Struct
AppendEntriesArgs
MIT-6.824/src/raft/raft.go:363
Struct
AppendEntriesReply
MIT-6.824/src/raft/raft.go:373
Struct
ApplyMsg
as each Raft peer becomes aware that successive log entries are committed, the peer should send an ApplyMsg to the service (or tester) on the same se
MIT-6.824/src/raft/raft.go:100
Struct
Clerk
MIT-6.824/src/shardmaster/client.go:12
Struct
Clerk
MIT-6.824/src/kvraft/client.go:7
Struct
Clerk
MIT-6.824/src/shardkv/client.go:38
Struct
ClientEnd
MIT-6.824/src/labrpc/labrpc.go:75
Struct
Config
A configuration -- an assignment of shards to groups. Please don't change this.
MIT-6.824/src/shardmaster/common.go:25
Struct
DD
MIT-6.824/src/labgob/test_test.go:149
Struct
DoTaskArgs
What follows are RPC types and methods. Field names must start with capital letters, otherwise RPC will break. DoTaskArgs holds the arguments that are
MIT-6.824/src/mapreduce/common_rpc.go:13
TypeAlias
Err
MIT-6.824/src/shardmaster/common.go:35
TypeAlias
Err
MIT-6.824/src/kvraft/common.go:8
TypeAlias
Err
MIT-6.824/src/shardkv/common.go:18
Struct
Event
MIT-6.824/src/linearizability/model.go:17
TypeAlias
EventKind
MIT-6.824/src/linearizability/model.go:10
Struct
GetArgs
MIT-6.824/src/kvraft/common.go:27
Struct
GetArgs
MIT-6.824/src/shardkv/common.go:36
Struct
GetReply
MIT-6.824/src/kvraft/common.go:34
Struct
GetReply
MIT-6.824/src/shardkv/common.go:41
Struct
InstallSnapshotArgs
MIT-6.824/src/raft/raft.go:631
Struct
InstallSnapshotReply
MIT-6.824/src/raft/raft.go:641
Struct
JoinArgs
MIT-6.824/src/shardmaster/common.go:37
Struct
JoinReply
MIT-6.824/src/shardmaster/common.go:41
Struct
JunkArgs
MIT-6.824/src/labrpc/test_test.go:10
Struct
JunkReply
MIT-6.824/src/labrpc/test_test.go:13
Struct
JunkServer
MIT-6.824/src/labrpc/test_test.go:17
Struct
KVServer
MIT-6.824/src/kvraft/server.go:44
Struct
KeyValue
KeyValue is a type used to hold the key/value pairs passed to the map and reduce functions.
MIT-6.824/src/mapreduce/common.go:29
Struct
KvInput
kv model
MIT-6.824/src/linearizability/models.go:5
Struct
KvOutput
MIT-6.824/src/linearizability/models.go:11
Struct
LabDecoder
MIT-6.824/src/labgob/labgob.go:42
Struct
LabEncoder
MIT-6.824/src/labgob/labgob.go:22
Struct
LeaveArgs
MIT-6.824/src/shardmaster/common.go:46
Struct
LeaveReply
MIT-6.824/src/shardmaster/common.go:50
Struct
LogEntry
MIT-6.824/src/raft/raft.go:109
Struct
Master
Master holds all the state that the master needs to keep track of.
MIT-6.824/src/mapreduce/master.go:14
Struct
Model
MIT-6.824/src/linearizability/model.go:23
Struct
MoveArgs
MIT-6.824/src/shardmaster/common.go:55
Struct
MoveReply
MIT-6.824/src/shardmaster/common.go:60
Struct
Network
MIT-6.824/src/labrpc/labrpc.go:116
Struct
Notification
notify the RPC handler that a request from a client has been done
MIT-6.824/src/kvraft/server.go:39
Struct
Op
MIT-6.824/src/shardmaster/server.go:22
Struct
Op
MIT-6.824/src/kvraft/server.go:26
Struct
Op
MIT-6.824/src/shardkv/server.go:12
Struct
Operation
MIT-6.824/src/linearizability/model.go:3
Struct
Parallelism
track whether workers executed in parallel.
MIT-6.824/src/mapreduce/worker.go:18
Struct
Persister
MIT-6.824/src/raft/persister.go:14
Struct
PutAppendArgs
Put or Append
MIT-6.824/src/kvraft/common.go:11
Struct
PutAppendArgs
Put or Append
MIT-6.824/src/shardkv/common.go:21
Struct
PutAppendReply
MIT-6.824/src/kvraft/common.go:22
Struct
PutAppendReply
MIT-6.824/src/shardkv/common.go:31
Struct
QueryArgs
MIT-6.824/src/shardmaster/common.go:65
Struct
QueryReply
MIT-6.824/src/shardmaster/common.go:69
Struct
Raft
A Go object implementing a single Raft peer.
MIT-6.824/src/raft/raft.go:117
Struct
RegisterArgs
RegisterArgs is the argument passed when a worker registers with the master.
MIT-6.824/src/mapreduce/common_rpc.go:32
Struct
RequestVoteArgs
example RequestVote RPC arguments structure. field names must start with capital letters!
MIT-6.824/src/raft/raft.go:303
Struct
RequestVoteReply
example RequestVote RPC reply structure. field names must start with capital letters!
MIT-6.824/src/raft/raft.go:316
Struct
Server
a server is a collection of services, all sharing the same rpc dispatcher. so that e.g. both a Raft and a k/v server can listen to the same rpc endpo
MIT-6.824/src/labrpc/labrpc.go:369
Struct
Service
an object with methods that can be called via RPC. a single server may have more than one Service.
MIT-6.824/src/labrpc/labrpc.go:422
Struct
ShardKV
MIT-6.824/src/shardkv/server.go:18
Struct
ShardMaster
MIT-6.824/src/shardmaster/server.go:10
Struct
ShutdownReply
ShutdownReply is the response to a WorkerShutdown. It holds the number of tasks this worker has processed since it was started.
MIT-6.824/src/mapreduce/common_rpc.go:27
Struct
T1
MIT-6.824/src/labgob/test_test.go:7
Struct
T2
MIT-6.824/src/labgob/test_test.go:14
Struct
T3
MIT-6.824/src/labgob/test_test.go:20
Struct
T4
MIT-6.824/src/labgob/test_test.go:110
Struct
Worker
Worker holds the state for a server waiting for DoTask or Shutdown RPCs
MIT-6.824/src/mapreduce/worker.go:25
Struct
cacheEntry
MIT-6.824/src/linearizability/linearizability.go:128
Struct
callsEntry
MIT-6.824/src/linearizability/linearizability.go:142
Struct
config
MIT-6.824/src/shardmaster/config.go:34
Struct
config
MIT-6.824/src/kvraft/config.go:44
Struct
config
MIT-6.824/src/raft/config.go:37
Struct
config
MIT-6.824/src/shardkv/config.go:53
Struct
entry
MIT-6.824/src/linearizability/linearizability.go:16
TypeAlias
entryKind
MIT-6.824/src/linearizability/linearizability.go:9
Struct
group
MIT-6.824/src/shardkv/config.go:45
TypeAlias
jobPhase
jobPhase indicates whether a task is scheduled as a map or reduce task.
MIT-6.824/src/mapreduce/common.go:20
Struct
node
MIT-6.824/src/linearizability/linearizability.go:51
Struct
replyMsg
MIT-6.824/src/labrpc/labrpc.go:70
Struct
reqMsg
MIT-6.824/src/labrpc/labrpc.go:62