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/executor/connection_pool_stats.cpp | |
parent | 50acdda3c992e7bace5f0dd560fc94966a7aa870 (diff) | |
download | mongo-6b0141d1559164e212f66d9b62909b9d61df01c8.tar.gz |
SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafe
Diffstat (limited to 'src/mongo/executor/connection_pool_stats.cpp')
-rw-r--r-- | src/mongo/executor/connection_pool_stats.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/executor/connection_pool_stats.cpp b/src/mongo/executor/connection_pool_stats.cpp index 42ea5027b90..e4493f1008f 100644 --- a/src/mongo/executor/connection_pool_stats.cpp +++ b/src/mongo/executor/connection_pool_stats.cpp @@ -112,7 +112,8 @@ void ConnectionPoolStats::updateStatsForHost(std::string pool, } void ConnectionPoolStats::appendToBSON(mongo::BSONObjBuilder& result, bool forFTDC) { - const auto isCCHMEnabled = gFeatureFlagConnHealthMetrics.isEnabledAndIgnoreFCV(); + // (Ignore FCV check): This feature flag doesn't have any upgrade/downgrade concerns. + const auto isCCHMEnabled = gFeatureFlagConnHealthMetrics.isEnabledAndIgnoreFCVUnsafe(); result.appendNumber("totalInUse", static_cast<long long>(totalInUse)); result.appendNumber("totalAvailable", static_cast<long long>(totalAvailable)); |