The 2.6 docs was clearly stated that db.fsyncLock()should not be used at startup mongodump:
Do not use mongodump with db.fsyncLock ().
But this information has disappeared due to the 3.0 version of the documentation . In fact, there is no information about locks in documents mongodumpfrom 3.0.
I assume --oplogthere is no need to call when using db.fsyncLock(), but I'm not 100% sure:
Without --oplog, if there are write operations during the dump operation, the dump will not reflect a single point in time. changes made to the database during the upgrade process may affect the output of the backup.
could you help me? Do i need to execute fsyncLock in MongoDB before dumping with mongodump?
thank!
source
share