[SERVER-52930] Commit Collection to catalog in each WUOW for ReIndex command Created: 18/Nov/20 Updated: 29/Oct/23 Resolved: 19/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Henrik Edin |
| 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 | ||||
| Sprint: | Execution Team 2020-11-30 | ||||
| Participants: | |||||
| Linked BF Score: | 22 | ||||
| Description |
|
The ReIndex command uses two storage transactions to perform its work, it needs to commit the pending Collection in each of them to remain consistent with the durable catalog. This means we can remove the unmanaged lifetime for writable Collections. |
| Comments |
| Comment by Henrik Edin [ 19/Nov/20 ] |
|
https://github.com/mongodb/mongo/commit/3aaf530850346c3e80a4e5f891c666b6a31e8809 |