[SERVER-73974] Reduce time holding the chunks lock during commit of `mergeAllChunksOnShard` Created: 14/Feb/23 Updated: 29/Oct/23 Resolved: 27/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06 |
| Participants: |
| Description |
|
The discovery of mergeable chunks for a specific shard is currently done while holding the chunks lock. Purpose of this ticket is to reduce the amount of time spent under that lock. A solution may be the following:
|
| Comments |
| Comment by Githook User [ 27/Feb/23 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |