|
StorageEngine::flushAllFiles() takes a boolean parameter, sync, which performs synchronous flushing when true and asynchronous flushing when false. However,
- MMAPv1 on Windows cannot support asynchronous flushing, and using MS_ASYNC in Posix is a no-op (see
SERVER-22271).
- WiredTiger and the other KVEngine-based storage engines all ignore the sync parameter, doing the flush synchronously.
- RocksDB also ignores the sync parameter.
As a consequence, there is no longer a need to keep the sync parameter.
|