[SERVER-42824] do not lock RSTL for index build cleanup Created: 14/Aug/19 Updated: 29/Oct/23 Resolved: 22/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2019-08-26 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
In order to break the cycle of some potential 3-way deadlocks involving index builds, prepared transactions, and step down, we will investigate not acquiring the RSTL for index build cleanup. Index build cleanup does not require synchronization with replica set state transitions. See |
| Comments |
| Comment by Githook User [ 29/Aug/19 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: (cherry picked from commit c9ae987cb111dc19ffbbcee1436da8077fbbc11f) |
| Comment by Githook User [ 28/Aug/19 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: (cherry picked from commit f8a233744b5e39c802ddd42c51d2e707f0c57bbe) |
| Comment by Githook User [ 28/Aug/19 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: (cherry picked from commit e94d9343cfd381a15222ac77a407515bf8645785) |
| Comment by Githook User [ 22/Aug/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 22/Aug/19 ] |
|
Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}Message: |
| Comment by Githook User [ 22/Aug/19 ] |
|
Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}Message: |
| Comment by Benety Goh [ 14/Aug/19 ] |
|
A similar fix was applied to index builds on secondaries in |