update PutAppend spec

This commit is contained in:
kenctrl
2024-03-03 16:31:19 -05:00
parent d6f2a7fb5c
commit b6635d50e5

View File

@@ -1,12 +1,13 @@
package kvraft
import (
"6.5840/labgob"
"6.5840/labrpc"
"6.5840/raft"
"log"
"sync"
"sync/atomic"
"6.5840/labgob"
"6.5840/labrpc"
"6.5840/raft"
)
const Debug = false
@@ -18,7 +19,6 @@ func DPrintf(format string, a ...interface{}) (n int, err error) {
return
}
type Op struct {
// Your definitions here.
// Field names must start with capital letters,
@@ -37,11 +37,12 @@ type KVServer struct {
// Your definitions here.
}
func (kv *KVServer) Get(args *GetArgs, reply *GetReply) {
// Your code here.
}
// unlike in lab 2, neither Put nor Append should return a value.
// this is already reflected in the PutAppendReply struct.
func (kv *KVServer) PutAppend(args *PutAppendArgs, reply *PutAppendReply) {
// Your code here.
}