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