summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-05-18 17:39:46 -0400
committerGeert Bosch <geert@mongodb.com>2015-05-18 17:39:46 -0400
commit2f458725a0c58adfab15126fef61b6ad1ff2c03b (patch)
treefd539e8cce24b6828c9685fdf2082cace8a93388 /src/mongo
parentc9b53b54420c278e6b299dbba87c4167c928c03b (diff)
downloadmongo-2f458725a0c58adfab15126fef61b6ad1ff2c03b.tar.gz
SERVER-18171: Remove obsolete comment
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/storage/recovery_unit.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/storage/recovery_unit.h b/src/mongo/db/storage/recovery_unit.h
index 62cb0c7241d..77bb7a33dd1 100644
--- a/src/mongo/db/storage/recovery_unit.h
+++ b/src/mongo/db/storage/recovery_unit.h
@@ -66,12 +66,6 @@ namespace mongo {
virtual void commitUnitOfWork() = 0;
virtual void abortUnitOfWork() = 0;
- // WARNING: "commit" in functions below refers to a global journal flush which implicitly
- // commits the current UnitOfWork as well. They are actually stronger than commitUnitOfWork
- // as they can commit even if the UnitOfWork is nested. That is because we have already
- // verified that the db will be left in a valid state at these commit points.
- // TODO clean up the naming and semantics.
-
/**
* Waits until all writes prior to this call are durable. Returns true, unless the storage
* engine cannot guarantee durability, which should never happen when isDurable() returned