This commit is contained in:
Frans Kaashoek 2025-02-01 13:52:04 -05:00
parent 6a79304587
commit 6e5dbc5a47
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
module 6.5840 module 6.5840
go 1.21 go 1.22
require github.com/anishathalye/porcupine v1.0.0 require github.com/anishathalye/porcupine v1.0.0

View File

@ -45,12 +45,12 @@ func (kv *KVServer) Put(args *rpc.PutArgs, reply *rpc.PutReply) {
// Your code here. // Your code here.
} }
// You can ignore for this lab // You can ignore Kill() for this lab
func (kv *KVServer) Kill() { func (kv *KVServer) Kill() {
} }
// You can ignore all arguments; they are for replicated KVservers in lab 4 // You can ignore all arguments; they are for replicated KVservers
func StartKVServer(ends []*labrpc.ClientEnd, gid tester.Tgid, srv int, persister *tester.Persister) []tester.IService { func StartKVServer(ends []*labrpc.ClientEnd, gid tester.Tgid, srv int, persister *tester.Persister) []tester.IService {
kv := MakeKVServer() kv := MakeKVServer()
return []tester.IService{kv} return []tester.IService{kv}