Details
Description
This is sort of a vague feature request, but users at a training asked whether the replica set commands could be executed through a mongos, rather than directly against the replica set members. (The users' motivation had to do with wanting to open firewall holes only for mongoses.)
As for how it might look or work, the mongos could parse replset command documents for an argument indicating the set name and route the command appropriately; and then either the mongos could filter out the set name from the command document, or the replset commands could ignore or validate the set name argument.