update
This commit is contained in:
1 parent
c96bad59a5
commit
059b435561
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user