Replicaset w/auth warnings too verbose when not auth'd against local/admin db

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.5.1
    • Affects Version/s: 2.5
    • Component/s: Cluster Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The is too verbose. It should not log every time this comes up.

      This seems to only be important in checking the replset name to make sure it is the name expected; in this case I think this msg should be moved to "info" level, or only printed once.

      In fact, this should just get the setName from isMaster and there won't be an auth problem at all (until we need to check something more):

      test:PRIMARY> db.runCommand("isMaster")
      {
      "setName" : "test",
      "ismaster" : true,
      "secondary" : false,
      "hosts" : [
      "stump:2003",
      "stump:2002",
      "stump:2001"
      ],
      "maxBsonObjectSize" : 16777216,
      "ok" : 1
      }

            Assignee:
            Scott Hernandez (Inactive)
            Reporter:
            Scott Hernandez (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: