[SERVER-24850] The balancer frequently logs "NamespaceNotFound" warnings for dropped namespaces Created: 30/Jun/16  Updated: 19/Nov/16  Resolved: 08/Sep/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Bug Priority: Minor - P4
Reporter: Kamran K. Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 18 (08/05/16), Sharding 2016-08-29, Sharding 2016-09-19
Participants:

 Description   

In 3.3.x, the balancer will frequently log messages like this at the default log level:

 W SHARDING [Balancer] Unable to enforce tag range policy for collection db48.coll48 :: caused by :: NamespaceNotFound: Database db48 was not found due to NamespaceNotFound: database db48 not found
...
 W SHARDING [Balancer] Unable to balance collection db48.coll48 :: caused by :: NamespaceNotFound: Database db48 was not found due to NamespaceNotFound: database db48 not found

We should remove these warnings or lower the log level to avoid polluting server logs.



 Comments   
Comment by Githook User [ 08/Sep/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-24850 Make balancer skip namespaces which get dropped during analyis
Branch: master
https://github.com/mongodb/mongo/commit/6369f21bb22576e5aae7e8e310010b95f31694c6

Generated at Thu Feb 08 04:07:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.