[SERVER-9452] index rebuilder can't use DBDirectClient to query the list of namespaces Created: 24/Apr/13  Updated: 11/Jul/16  Resolved: 01/May/13

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

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-2771 Background index builds on replica se... Closed
Operating System: ALL
Participants:

 Description   

IndexRebuilder::checkDB() can't use DBDirectClient because the query engine won't let you make queries to a replica set node that is not in state PRIMARY or SECONDARY. There is no way to override this behavior.



 Comments   
Comment by auto [ 29/Apr/13 ]

Author:

{u'date': u'2013-04-29T18:52:03Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-9452 do not stop queries in god mode

Prior to this commit, there was no way to do an internal query on a node that was not in PRIMARY or SECONDARY state.
This ability is necessary for the Index Rebuilder, which runs at startup.
Branch: master
https://github.com/mongodb/mongo/commit/bc99c890539b16a7f2d783d40d74bc64e756295d

Generated at Thu Feb 08 03:20:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.