mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 13:27:52 +08:00
log reading adds delay between retries
This commit is contained in:
@@ -170,6 +170,8 @@ func (m *LogBuffer) copyToFlush() *dataToFlush {
|
||||
m.lastFlushTime = m.stopTime
|
||||
}
|
||||
m.buf = m.prevBuffers.SealBuffer(m.startTime, m.stopTime, m.buf, m.pos)
|
||||
m.startTime = time.Unix(0,0)
|
||||
m.stopTime = time.Unix(0,0)
|
||||
m.pos = 0
|
||||
m.idx = m.idx[:0]
|
||||
return d
|
||||
|
Reference in New Issue
Block a user