Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-301

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.1
    • 2.5
    • Cluster Management
    • None

    Description

      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
      }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: