summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/initial_sync.h
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-05-15 14:44:03 -0400
committerGeert Bosch <geert@mongodb.com>2015-05-15 19:57:17 -0400
commit5ff7104a1696494c38d80369bd9cda20bcbe973a (patch)
tree69d585ef2eea0982d47f8203950edaf528eb581c /src/mongo/db/repl/initial_sync.h
parent44018783d2d0476ab7db9708ee98e14a2dd35f4e (diff)
downloadmongo-5ff7104a1696494c38d80369bd9cda20bcbe973a.tar.gz
SERVER-18171: Rename awaitCommit to waitUntilDurable
Diffstat (limited to 'src/mongo/db/repl/initial_sync.h')
-rw-r--r--src/mongo/db/repl/initial_sync.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/initial_sync.h b/src/mongo/db/repl/initial_sync.h
index bf5800d4643..49bcd182f95 100644
--- a/src/mongo/db/repl/initial_sync.h
+++ b/src/mongo/db/repl/initial_sync.h
@@ -48,9 +48,9 @@ namespace repl {
*/
void oplogApplication(OperationContext* txn, const Timestamp& endOpTime);
- // Initial sync will ignore all journal requirement flags and doesn't await commit
- // before updating last OpTime.
- virtual bool supportsAwaitingCommit() { return false; }
+ // Initial sync will ignore all journal requirement flags and doesn't wait until
+ // operations are durable before updating the last OpTime.
+ virtual bool supportsWaitingUntilDurable() { return false; }
};
// Used for ReplSetTest testing.