[SERVER-61678] Make autoSplitVector return `continuation` flag Created: 21/Nov/21 Updated: 29/Oct/23 Resolved: 10/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Allison Easton |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding EMEA 2022-03-21 | ||||||||
| Participants: | |||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 10/Mar/22 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |
| Comment by Githook User [ 10/Mar/22 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |