diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-01-12 09:14:04 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-01-12 09:18:40 -0500 |
commit | 74dd4586e68b77838cf0c93a6697e0353a3c111a (patch) | |
tree | a108d7361671c2ee9ae902715400d0f43ae58893 /src/mongo/db/wire_version.h | |
parent | 6e57c0d022c15828ab8c16a1229b355e30e734b6 (diff) | |
download | mongo-74dd4586e68b77838cf0c93a6697e0353a3c111a.tar.gz |
SERVER-32519 Add a new wire version for v3.8
Diffstat (limited to 'src/mongo/db/wire_version.h')
-rw-r--r-- | src/mongo/db/wire_version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/wire_version.h b/src/mongo/db/wire_version.h index cc6050b8834..a7cc8d94f5e 100644 --- a/src/mongo/db/wire_version.h +++ b/src/mongo/db/wire_version.h @@ -70,9 +70,12 @@ enum WireVersion { // Supports the new OP_MSG wireprotocol (3.6+). SUPPORTS_OP_MSG = 6, + // Supports replica set transactions (3.8+). + REPLICA_SET_TRANSACTIONS = 7, + // Set this to the highest value in this enum - it will be the default maxWireVersion for // the WireSpec values. - LATEST_WIRE_VERSION = SUPPORTS_OP_MSG, + LATEST_WIRE_VERSION = REPLICA_SET_TRANSACTIONS, }; /** |