[SERVER-72301] Use ordered:false when inserting chunks in optimized path of create collection Created: 21/Dec/22 Updated: 29/Oct/23 Resolved: 03/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.15, 6.0.4, 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v6.2, v6.0, v5.0
|
||||||||||||
| Sprint: | Sharding EMEA 2022-12-26 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The optimized path of create collection consist in creating and pre-splitting the chunks across the cluster depending on the split policy initially associated with the collection. SERVER-59806 introduced an optimization when creating a collection in the optimized path: using an insert instead of an upsert of the chunks. However, we could also set the ordered field to false to allow parallel batch processing instead of sequential processing and decrease the total time necessary to pre-split large amounts of chunks in the cluster. |
| Comments |
| Comment by Githook User [ 04/Jan/23 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit b572adc250b9ce7c37539e642c5d23c39f5c14dc) |
| Comment by Githook User [ 04/Jan/23 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit b572adc250b9ce7c37539e642c5d23c39f5c14dc) |
| Comment by Githook User [ 03/Jan/23 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: |