[SERVER-35609] Create initial chunk on primaryShard if only writing one chunk Created: 14/Jun/18 Updated: 29/Oct/23 Resolved: 20/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.6, 4.0.1, 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v4.0, v3.6
|
||||
| Sprint: | Sharding 2018-06-18, Sharding 2018-07-02 | ||||
| Participants: | |||||
| Description |
|
Currently, if we're only writing one chunk when creating a newly sharded collection we create it on any shard. We should create this on the primaryShard because during M/R, if creating a new sharded output collection we'll create the new collection on the primary shard with UUID X, but then write the initial chunk to possibly a different shard with UUID Y. |
| Comments |
| Comment by Githook User [ 28/Jun/18 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: (cherry picked from commit c842fb1f6479a6e7299f2bac51dd787393366dd6) |
| Comment by Githook User [ 20/Jun/18 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |
| Comment by Githook User [ 20/Jun/18 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |