diff options
Diffstat (limited to 'src/mongo/db/initialize_operation_session_info.cpp')
-rw-r--r-- | src/mongo/db/initialize_operation_session_info.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/initialize_operation_session_info.cpp b/src/mongo/db/initialize_operation_session_info.cpp index a3ca5b66eb1..87003e8cc80 100644 --- a/src/mongo/db/initialize_operation_session_info.cpp +++ b/src/mongo/db/initialize_operation_session_info.cpp @@ -46,7 +46,8 @@ void initializeOperationSessionInfo(OperationContext* opCtx, return; } - if (!serverGlobalParams.featureCompatibility.isFullyUpgradedTo36()) { + if (serverGlobalParams.featureCompatibility.getVersion() != + ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) { return; } |