- movePrimary https://docs.mongodb.com/manual/reference/command/movePrimary/index.html#considerations
- dropDatabase https://docs.mongodb.com/manual/reference/command/dropDatabase/#replica-set-and-sharded-clusters
Now that $out can be doing inserts on a remote shard, it can also be affected by the issues with movePrimary and dropDatabase. Note that the flushRouter command will also need to be sent to secondaries as well.
- Investigate behavior mentioned above
- Update documentation for 4.2 only