diff options
author | Marcos José Grillo Ramirez <marcos.grillo@mongodb.com> | 2023-04-12 17:05:02 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-17 15:25:17 +0000 |
commit | 4277429400d0dbceaf9f5605e956336a8f9d1550 (patch) | |
tree | 79fbc4dad45e858c4e0ed5e93a0a3039862339a3 | |
parent | 8d0a89f34def2e12a6734caa05c2275beed9c3cc (diff) | |
download | mongo-4277429400d0dbceaf9f5605e956336a8f9d1550.tar.gz |
SERVER-75299 Lower BalancerStatsRegsitry log severity
(cherry picked from commit faf4eaafed79f70b4b5b96670d7d08fc5beb929d)
-rw-r--r-- | src/mongo/db/s/balancer_stats_registry.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/s/balancer_stats_registry.cpp b/src/mongo/db/s/balancer_stats_registry.cpp index 6e31af3754c..3ad4c8e0b98 100644 --- a/src/mongo/db/s/balancer_stats_registry.cpp +++ b/src/mongo/db/s/balancer_stats_registry.cpp @@ -233,7 +233,8 @@ void BalancerStatsRegistry::onRangeDeletionTaskDeletion(const UUID& collectionUU stdx::lock_guard lk{_mutex}; auto collStatsIt = _collStatsMap.find(collectionUUID); if (collStatsIt == _collStatsMap.end()) { - LOGV2_ERROR(6419612, + LOGV2_DEBUG(6419612, + 1, "Couldn't find cached range deletion tasks count during decrese attempt", "collectionUUID"_attr = collectionUUID, "numOrphanDocs"_attr = numOrphanDocs); @@ -246,7 +247,8 @@ void BalancerStatsRegistry::onRangeDeletionTaskDeletion(const UUID& collectionUU if (stats.numRangeDeletionTasks <= 0) { if (MONGO_unlikely(stats.numRangeDeletionTasks < 0)) { - LOGV2_ERROR(6419613, + LOGV2_DEBUG(6419613, + 1, "Cached count of range deletion tasks became negative. Resetting it to 0", "collectionUUID"_attr = collectionUUID, "numRangeDeletionTasks"_attr = stats.numRangeDeletionTasks, |