If the out: {inline: 1} option is specified to map/reduce command run through mongos, the router will try to do setShardVersion for the connections with an invalid namespace.
The fix should be to not prime the sharding information for the out collection if the output is inline in the first place.
- related to
-
SERVER-23450 Invariant failure with invalid 'replace' namespace in sharded mapReduce command
- Closed
-
SERVER-23480 Invariant failure with invalid namespace in sharded findAndModify command
- Closed
-
SERVER-23889 Invariant failure when running sharded planCache* commands with invalid namespaces
- Closed
-
SERVER-26440 Invariant failure nss.isValid() when running explain on invalid namespace
- Closed