|
Snapshot reads are only reliable if the server keeps a minimum amount of history, but the inMemory storage engine doesn't guarantee anything:
if (_ephemeral && !TestingProctor::instance().isEnabled()) {
|
// We do not maintain any snapshot history for the ephemeral storage engine in production
|
// because replication and sharded transactions do not currently run on the inMemory engine.
|
// It is live in testing, however.
|
minSnapshotHistoryWindowInSeconds.store(0);
|
}
|
TestingProctor is enabled for unittests, not JSTests.
|