mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-06 17:26:52 +08:00
fix some typos in replication_master.go
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user