From 1a0f9486eb228065434d439fc417762c33aab4b7 Mon Sep 17 00:00:00 2001 From: Vishnu Kaushik Date: Wed, 1 Sep 2021 21:36:37 +0000 Subject: SERVER-58344 Remove ServerGlobalParams::FeatureCompatibility and replace references with generated FCV constants --- src/mongo/db/fcv_op_observer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/fcv_op_observer.h') diff --git a/src/mongo/db/fcv_op_observer.h b/src/mongo/db/fcv_op_observer.h index f42172c4b07..7de88e944b8 100644 --- a/src/mongo/db/fcv_op_observer.h +++ b/src/mongo/db/fcv_op_observer.h @@ -31,6 +31,7 @@ #include "mongo/db/op_observer_noop.h" #include "mongo/db/server_options.h" +#include "mongo/util/version/releases.h" namespace mongo { @@ -197,7 +198,7 @@ private: * servers and closing open transactions if necessary. Increments the server TopologyVersion. */ static void _setVersion(OperationContext* opCtx, - ServerGlobalParams::FeatureCompatibility::Version newVersion, + multiversion::FeatureCompatibilityVersion newVersion, boost::optional commitTs = boost::none); /** -- cgit v1.2.1