diff options
author | Jiawei Yang <jiawei.yang@mongodb.com> | 2023-04-04 20:32:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-05 00:35:47 +0000 |
commit | 6b0141d1559164e212f66d9b62909b9d61df01c8 (patch) | |
tree | 6fcc974f40a8b29678b40ff900448bff8cca6ac4 /src/mongo/transport/service_entry_point_impl.cpp | |
parent | 50acdda3c992e7bace5f0dd560fc94966a7aa870 (diff) | |
download | mongo-6b0141d1559164e212f66d9b62909b9d61df01c8.tar.gz |
SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafe
Diffstat (limited to 'src/mongo/transport/service_entry_point_impl.cpp')
-rw-r--r-- | src/mongo/transport/service_entry_point_impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp index 42d3eb071f9..24f2a7c04ed 100644 --- a/src/mongo/transport/service_entry_point_impl.cpp +++ b/src/mongo/transport/service_entry_point_impl.cpp @@ -442,7 +442,8 @@ void ServiceEntryPointImpl::appendStats(BSONObjBuilder* bob) const { appendInt("available", _maxSessions - sessionCount); appendInt("totalCreated", sessionsCreated); - if (gFeatureFlagConnHealthMetrics.isEnabledAndIgnoreFCV()) { + // (Ignore FCV check): This feature flag doesn't have any upgrade/downgrade concerns. + if (gFeatureFlagConnHealthMetrics.isEnabledAndIgnoreFCVUnsafe()) { appendInt("rejected", _rejectedSessions); } |