mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-26 21:00:12 +08:00
add note for test function acceptAndReply() (#230)
Co-authored-by: NingLin-P <linningde25@gmail.com>
This commit is contained in:
parent
87f6ce88e8
commit
4b02c82dac
@ -916,6 +916,7 @@ func acceptAndReply(m pb.Message) pb.Message {
|
||||
if m.MsgType != pb.MessageType_MsgAppend {
|
||||
panic("type should be MessageType_MsgAppend")
|
||||
}
|
||||
// Note: reply message don't contain LogTerm
|
||||
return pb.Message{
|
||||
From: m.To,
|
||||
To: m.From,
|
||||
|
Loading…
Reference in New Issue
Block a user