mongodb-backup
mongodb-backup copied to clipboard
Backup creates empty files for big collection, reporting the completion prematurely.
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
same occurs on Mac OS also!