fix some typos in replication_master.go

This commit is contained in:
Eriri
2023-05-12 08:54:43 +08:00
committed by finley
parent bd418bd82b
commit edfbe75dfd

View File

@@ -32,9 +32,9 @@ const (
)
const (
salveCapacityNone = 0
salveCapacityEOF = 1 << iota
salveCapacityPsync2
slaveCapacityNone = 0
slaveCapacityEOF = 1 << iota
slaveCapacityPsync2
)
// slaveClient stores slave status in the view of master
@@ -48,7 +48,7 @@ type slaveClient struct {
capacity uint8
}
// aofListener 只负责更新 backlog
// aofListener is currently only responsible for updating the backlog
type replBacklog struct {
buf []byte
beginOffset int64