diff options
author | Eric Milkie <milkie@10gen.com> | 2016-02-17 11:07:45 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2016-02-17 15:40:45 -0500 |
commit | 52779c11c025e72a2c22c555bb06e05caf8e1ae1 (patch) | |
tree | eb930db24ab6614098d9fca86327e6ceb6415a34 /src/mongo/db/write_concern_options.h | |
parent | bd2c33b3c6000b92aa42bd285654d8e27bcd3af7 (diff) | |
download | mongo-52779c11c025e72a2c22c555bb06e05caf8e1ae1.tar.gz |
SERVER-22598 ensure all default write concern options use sync unset
Diffstat (limited to 'src/mongo/db/write_concern_options.h')
-rw-r--r-- | src/mongo/db/write_concern_options.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/write_concern_options.h b/src/mongo/db/write_concern_options.h index 91320b0d39a..0c187ed2887 100644 --- a/src/mongo/db/write_concern_options.h +++ b/src/mongo/db/write_concern_options.h @@ -51,9 +51,6 @@ public: WriteConcernOptions() { reset(); - // We set syncMode to NONE to avoid having an UNSET syncMode in default WriteConcernOptions - // since that can cause invariants to trigger. - syncMode = SyncMode::NONE; } WriteConcernOptions(int numNodes, SyncMode sync, int timeout); |