mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
@@ -1913,7 +1913,7 @@ func (fs *fileStore) streamSnapshot(w io.Closer, zw *zip.Writer) {
|
||||
|
||||
for _, mb := range blks {
|
||||
if mb == lmb {
|
||||
fs.flushPendingWrites()
|
||||
fs.flushPendingWritesUnlocked()
|
||||
}
|
||||
mb.mu.Lock()
|
||||
buf, err := ioutil.ReadFile(mb.ifn)
|
||||
|
||||
Reference in New Issue
Block a user