Return self descriptive error when running replSetGetConfig from the mongos

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

            Assignee:
            Mira Carey
            Reporter:
            Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: