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

Return self descriptive error when running replSetGetConfig from the mongos

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Case:

      Description

      The replSetGetConfig is not supported on the mongos. Currently, when we run this command from the mongos, it returns the error "no such cmd: replSetGetConfig".

      It would be nice if we can return some self descriptive error such as:

      replSetGetConfig is not supported through mongos
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: