update
This commit is contained in:
parent
c96bad59a5
commit
059b435561
@ -11,7 +11,7 @@ import (
|
|||||||
type Clerk struct {
|
type Clerk struct {
|
||||||
clnt *tester.Clnt
|
clnt *tester.Clnt
|
||||||
servers []string
|
servers []string
|
||||||
leader int // last successful leader (index into servers[])
|
// You will have to modify this struct.
|
||||||
}
|
}
|
||||||
|
|
||||||
func MakeClerk(clnt *tester.Clnt, servers []string) *Clerk {
|
func MakeClerk(clnt *tester.Clnt, servers []string) *Clerk {
|
||||||
|
@ -14,10 +14,10 @@ import (
|
|||||||
|
|
||||||
|
|
||||||
type KVServer struct {
|
type KVServer struct {
|
||||||
gid tester.Tgid
|
|
||||||
me int
|
me int
|
||||||
dead int32 // set by Kill()
|
dead int32 // set by Kill()
|
||||||
rsm *rsm.RSM
|
rsm *rsm.RSM
|
||||||
|
gid tester.Tgid
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user