Shell calls replSetGetStatus instead of isMaster

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.5.2
    • Affects Version/s: 2.2.3, 2.4.1
    • Component/s: Shell
    • None
    • Minor Change
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When constructing the shell prompt we call replSetGetStatus which is an Admin command. This should not be a requirement so we need to swap in isMaster for it.

      This spams the destination server and causes an inconsistent prompt.

      Users will see the error "command denied:

      { replSetGetStatus: 1.0, forShell: 1.0 }

      " in their log until they have authenticated with a role that allows replSetGetStatus.

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

              Created:
              Updated:
              Resolved: