The autoSplitVector function currently prevents returning more than 16MB of split keys. Such limit could be reached for very large collections or in case of "big" shard key fields.
Objective of this ticket is to modify the function and the command in order to return also a boolean flag indicating whether or not the index scan had been interrupted because the BSON max size was reached. In that case, the caller must perform additional autoSplitVector calls.
- related to
-
SERVER-63267 Complete TODO listed in SERVER-61678
- Closed