summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/dur.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-03-09 18:07:39 -0500
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-03-20 12:17:48 -0400
commitcd950b113ee0d00e88036b2fe6306866c7ba27f9 (patch)
treefc2cb2b8240fdc0f2fd38f47a4240c53e0b02d29 /src/mongo/db/storage/mmap_v1/dur.h
parentfd6f205a3ab17feec0cc9a0ba2a4baba8627f1f2 (diff)
downloadmongo-cd950b113ee0d00e88036b2fe6306866c7ba27f9.tar.gz
SERVER-30005: remove $isolated/$atomic option
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/dur.h')
-rw-r--r--src/mongo/db/storage/mmap_v1/dur.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/storage/mmap_v1/dur.h b/src/mongo/db/storage/mmap_v1/dur.h
index b505de833f6..06b38255c25 100644
--- a/src/mongo/db/storage/mmap_v1/dur.h
+++ b/src/mongo/db/storage/mmap_v1/dur.h
@@ -91,9 +91,8 @@ public:
/** Commit if enough bytes have been modified. Current threshold is 50MB
The idea is that long running write operations that don't yield
- (like creating an index or update with $atomic) can call this
- whenever the db is in a sane state and it will prevent commits
- from growing too large.
+ (like creating an index) can call this whenever the db is in a sane state and it will
+ prevent commits from growing too large.
@return true if commited
*/
virtual bool commitIfNeeded() = 0;