After SERVER-89883, the response of the removeShard command will be truncated whenever the BSONObjMaxUserSize is exceeded.
However, no tests are checking this behavior. Therefore, this ticket aims to test the scenario when the removeShard command response reaches BSONObjMaxUserSize. My suggestion is to test the appendShardDrainingStatus() under a unit test to avoid creating too many collections on a js test.
- depends on
-
SERVER-89883 removeShard should hint about how to move data of tracked unsharded collections
-
- Closed
-
- is related to
-
SERVER-99235 removeShard hint follow up task, fix test comment
-
- Closed
-
-
SERVER-101043 Fix the list of collections to move returned by removeShard
-
- Closed
-