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

error messages not useful for some commands not supported through mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Usability

    Description

      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

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: