diff options
Diffstat (limited to 'src/mongo/db/commands/feature_compatibility_version.h')
-rw-r--r-- | src/mongo/db/commands/feature_compatibility_version.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/commands/feature_compatibility_version.h b/src/mongo/db/commands/feature_compatibility_version.h index 0e06d36488f..1262138a017 100644 --- a/src/mongo/db/commands/feature_compatibility_version.h +++ b/src/mongo/db/commands/feature_compatibility_version.h @@ -120,9 +120,11 @@ private: /** * Set the FCV to newVersion, making sure to close any outgoing connections with incompatible * servers and closing open transactions if necessary. Increments the server TopologyVersion. + * If the commitTimestamp is set, advances the lastFCVUpdateTimestamp to it. */ static void _setVersion(OperationContext* opCtx, - ServerGlobalParams::FeatureCompatibility::Version newVersion); + ServerGlobalParams::FeatureCompatibility::Version newVersion, + boost::optional<Timestamp> commitTimestamp); }; |