summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2016-02-19 10:51:37 -0500
committerAdam Midvidy <amidvidy@gmail.com>2016-02-23 12:45:05 -0500
commitfd19c6fb06f56662bf517b0330a238d6c29efa7c (patch)
tree505ee7d42b93bc3541b522b3c537d591fa399374 /src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
parentc4369291d37de2f07968f305dd0fe107bcab8a37 (diff)
downloadmongo-fd19c6fb06f56662bf517b0330a238d6c29efa7c.tar.gz
SERVER-22357 do not flush READONLY files
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/catalog/namespace_index.h')
-rw-r--r--src/mongo/db/storage/mmap_v1/catalog/namespace_index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h b/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
index 53d162bc601..8bcf836518c 100644
--- a/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
+++ b/src/mongo/db/storage/mmap_v1/catalog/namespace_index.h
@@ -86,7 +86,7 @@ private:
const std::string _dir;
const std::string _database;
- DurableMappedFile _f;
+ DurableMappedFile _f{MongoFile::Options::SEQUENTIAL};
std::unique_ptr<NamespaceHashTable> _ht;
};
}