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