This commit is contained in:
Frans Kaashoek committed 2025-02-01 13:52:04 -05:00
1 parent 6a79304587
commit 6e5dbc5a47
2 files changed
+3 -3

No files matched your search

+1 -1
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
+2 -2
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}