Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfuqing committed May 14, 2023
2 parents 1bc1519 + dc7ab61 commit 6779f06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions database/replication_master.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6779f06

Please sign in to comment.