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

Return self descriptive error when running replSetGetConfig from the mongos

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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@mongodb.com Mira Carey
            Reporter:
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: