summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/feature_compatibility_version.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2019-08-13 16:09:24 +0100
committerBernard Gorman <bernard.gorman@gmail.com>2019-08-23 08:51:06 +0100
commit6a2c556dfaed34e641b64469d1de34dc88d36ec9 (patch)
treec44aa6a68e99462f086532c39f18c9ea20d627aa /src/mongo/db/commands/feature_compatibility_version.h
parentb6b81f34516ba7b1472cb1dd319da8785f24ae58 (diff)
downloadmongo-6a2c556dfaed34e641b64469d1de34dc88d36ec9.tar.gz
SERVER-41230 Update FCV constants throughout server code following 4.2 branch
SERVER-42162 Update Execution-related generic upgrade/downgrade references SERVER-42642 Update Replication-related generic upgrade/downgrade references SERVER-42592 Update Sharding-related generic upgrade/downgrade references SERVER-42794 Update Query-related generic upgrade/downgrade references SERVER-41545 Bump wire protocol version for 4.4
Diffstat (limited to 'src/mongo/db/commands/feature_compatibility_version.h')
-rw-r--r--src/mongo/db/commands/feature_compatibility_version.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mongo/db/commands/feature_compatibility_version.h b/src/mongo/db/commands/feature_compatibility_version.h
index c6f7a7f97d8..1c650fa1f0d 100644
--- a/src/mongo/db/commands/feature_compatibility_version.h
+++ b/src/mongo/db/commands/feature_compatibility_version.h
@@ -52,24 +52,23 @@ public:
static Lock::ResourceMutex fcvLock;
/**
- * Records intent to perform a 4.0 -> 4.2 upgrade by updating the on-disk feature
- * compatibility version document to have 'version'=4.0, 'targetVersion'=4.2.
+ * Records intent to perform a 4.2 -> 4.4 upgrade by updating the on-disk feature
+ * compatibility version document to have 'version'=4.2, 'targetVersion'=4.4.
* Should be called before schemas are modified.
*/
static void setTargetUpgrade(OperationContext* opCtx);
/**
- * Records intent to perform a 4.2 -> 4.0 downgrade by updating the on-disk feature
- * compatibility version document to have 'version'=4.0, 'targetVersion'=4.0.
+ * Records intent to perform a 4.4 -> 4.2 downgrade by updating the on-disk feature
+ * compatibility version document to have 'version'=4.2, 'targetVersion'=4.2.
* Should be called before schemas are modified.
*/
static void setTargetDowngrade(OperationContext* opCtx);
/**
- * Records the completion of a 4.0 <-> 4.2 upgrade or downgrade by updating the on-disk feature
+ * Records the completion of a 4.2 <-> 4.4 upgrade or downgrade by updating the on-disk feature
* compatibility version document to have 'version'=version and unsetting the 'targetVersion'
- * field.
- * Should be called after schemas are modified.
+ * field. Should be called after schemas are modified.
*/
static void unsetTargetUpgradeOrDowngrade(OperationContext* opCtx, StringData version);