[SERVER-11046] error messages not useful for some commands not supported through mongos Created: 04/Oct/13  Updated: 07/Oct/13  Resolved: 07/Oct/13

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: David Storch Assignee: David Storch
Resolution: Duplicate Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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


 Comments   
Comment by Eliot Horowitz (Inactive) [ 07/Oct/13 ]

SERVER-1853

Generated at Thu Feb 08 03:24:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.