Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9452

index rebuilder can't use DBDirectClient to query the list of namespaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      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.

        Issue Links

          Activity

          • Comments
          Hide
          auto auto (Inactive) added a comment -

          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

          Show
          auto auto (Inactive) added a comment - 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

            People

            • Assignee:
              milkie Eric Milkie
              Reporter:
              milkie Eric Milkie
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: