update
This commit is contained in:
parent
6a79304587
commit
6e5dbc5a47
@ -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
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user