mirror of https://github.com/tidwall/tile38.git
fix missing lock
This commit is contained in:
parent
add9873fef
commit
0144ca6883
|
@ -302,6 +302,7 @@ func (s *Server) followStep(host string, port int, followc int) error {
|
|||
if !caughtUp {
|
||||
if aofsz >= int(aofSize) {
|
||||
caughtUp = true
|
||||
s.mu.Lock()
|
||||
s.flushAOF(false)
|
||||
s.fcup = true
|
||||
s.fcuponce = true
|
||||
|
|
Loading…
Reference in New Issue