https://github.com/mongodb/mongo/commit/889ca31c1a1e7725b14f291233a4ee4f7afea111 introduces an error code set of write concern errors and hung it in the ShardRegistry, even though the only users of this set are the user management commands. This is not the right place for this set to live. Instead we should define an error_class in error_codes.err and use the is*Error method it creates
- is related to
-
SERVER-22540 Commands that do writes on mongos should take a writeConcern and aggregate results
- Closed