This commit is contained in:
Frans Kaashoek 2025-04-02 07:13:48 -04:00
parent c96bad59a5
commit 059b435561
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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
} }