mongodb-backup icon indicating copy to clipboard operation
mongodb-backup copied to clipboard

Backup creates empty files for big collection, reporting the completion prematurely.

Open alexchern opened this issue 7 years ago • 1 comments

Hi, For small collections everything works fine. For collections with few hundred thousands documents, backup creates all the files, but most of them are empty when it reports that operation is complete (at least on Windows). Node app does not exit, so it looks like it flushes the internal buffers. If I wait until application exits, the files are Ok. So, the problem is that it reports that everything is done when lots of files are still writing to disk...

Alex

alexchern avatar Nov 02 '18 16:11 alexchern

same occurs on Mac OS also!

pariola avatar Feb 02 '19 22:02 pariola