summaryrefslogtreecommitdiff
path: root/src/mongo/db/wire_version.h
diff options
context:
space:
mode:
authorJon Streets <jonathan.streets@mongodb.com>2021-04-01 01:54:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-07 15:33:23 +0000
commita1379caecbce080899d6524f7bf4d596379d0e70 (patch)
tree947b1f3c41c34b1a1004e1c5688bd721a3344598 /src/mongo/db/wire_version.h
parent6cf1dbd9e91e17aee4de4a4dcceffa559a53ae66 (diff)
downloadmongo-a1379caecbce080899d6524f7bf4d596379d0e70.tar.gz
SERVER-54434 Update FCV constants to recognize 5.0 as latest
Diffstat (limited to 'src/mongo/db/wire_version.h')
-rw-r--r--src/mongo/db/wire_version.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/wire_version.h b/src/mongo/db/wire_version.h
index 3185ca25dc3..45712e1c298 100644
--- a/src/mongo/db/wire_version.h
+++ b/src/mongo/db/wire_version.h
@@ -92,9 +92,12 @@ enum WireVersion {
// Supports features available from 4.9 and onwards.
WIRE_VERSION_49 = 12,
+ // Supports features available from 5.0 and onwards.
+ WIRE_VERSION_50 = 13,
+
// Set this to the highest value in this enum - it will be the default maxWireVersion for
// the WireSpec values.
- LATEST_WIRE_VERSION = WIRE_VERSION_49,
+ LATEST_WIRE_VERSION = WIRE_VERSION_50,
// Set this to LATEST_WIRE_VERSION - 1.
LAST_CONT_WIRE_VERSION = LATEST_WIRE_VERSION - 1,