summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/feature_compatibility_version.h
diff options
context:
space:
mode:
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);