Documentation ¶
Index ¶
Constants ¶
View Source
const ( OK = "OK" ErrWrongLeader = "ErrWrongLeader" )
View Source
const Debug = 0
View Source
const RetryInterval = time.Duration(125 * time.Millisecond)
View Source
const SnapshotThreshold = 1.5
View Source
const StartTimeoutInterval = time.Duration(3 * time.Second)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clerk ¶
type Clerk struct { RequestSeq int // contains filtered or unexported fields }
type KVServer ¶
func StartKVServer ¶
func (*KVServer) PutAppend ¶
func (kv *KVServer) PutAppend(args *PutAppendArgs, reply *PutAppendReply)
type PutAppendArgs ¶
type PutAppendReply ¶
type PutAppendReply struct {
Err Err
}
Click to show internal directories.
Click to hide internal directories.