error messages not useful for some commands not supported through mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some commands which are not supported on mongos have useful error messages.

      For example, mongo::dbgrid_pub_cmds::ProfileCmd has a stub implementation which returns an error message "profile currently not supported via mongos".

      But there are several commands which just return "no such cmd" because they have no mongos implementation at all. It would be nice to add more useful error messages for some of them (i.e. "<cmd> cannot be run via mongos"). The list of these commands is:

      • cloneCollection
      • eval
      • geoSearch
      • replSetReconfig
      • replSetStepDown
      • replSetMaintenance
      • replSetSyncFrom
      • replSetInitiate
      • touch
      • shardingState
      • mapReduce

            Assignee:
            David Storch
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: