diff options
author | Leon Zaruvinsky <leon@mongodb.com> | 2016-06-06 16:47:15 -0400 |
---|---|---|
committer | Leon Zaruvinsky <leon@mongodb.com> | 2016-06-07 17:16:08 -0400 |
commit | 070d49e2c66f96adf17883638cee43a25f136fea (patch) | |
tree | 7b1fbe23d8692ee9e784b01ffb3a4b97fb40f43b /src/mongo/dbtests/dbtests.cpp | |
parent | 01dfe61a6c03307f0384406bfbde486f8de15425 (diff) | |
download | mongo-070d49e2c66f96adf17883638cee43a25f136fea.tar.gz |
SERVER-24191 Bump wire version number to show command support for write concern
Diffstat (limited to 'src/mongo/dbtests/dbtests.cpp')
-rw-r--r-- | src/mongo/dbtests/dbtests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp index b0590061e91..d9221e0944e 100644 --- a/src/mongo/dbtests/dbtests.cpp +++ b/src/mongo/dbtests/dbtests.cpp @@ -59,10 +59,10 @@ void initWireSpec() { WireSpec& spec = WireSpec::instance(); // accept from any version spec.minWireVersionIncoming = RELEASE_2_4_AND_BEFORE; - spec.maxWireVersionIncoming = FIND_COMMAND; + spec.maxWireVersionIncoming = COMMANDS_ACCEPT_WRITE_CONCERN; // connect to any version spec.minWireVersionOutgoing = RELEASE_2_4_AND_BEFORE; - spec.maxWireVersionOutgoing = FIND_COMMAND; + spec.maxWireVersionOutgoing = COMMANDS_ACCEPT_WRITE_CONCERN; } Status createIndex(OperationContext* txn, StringData ns, const BSONObj& keys, bool unique) { |