[SERVER-49866] Remove TempRelease Created: 24/Jul/20 Updated: 29/Oct/23 Resolved: 11/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Gabriel Marks |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Execution Team 2021-11-15 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
We should consider removing the TempRelease RAII type. It is a bug-prone construct that should be replaced by explicit RAII lock acquisitions and releases. The usage in oplog.cpp is no longer necessary because two-phase index builds do not allow this behavior in steady-state replication. The usage in drop_database.cpp is no longer necessary, per the comment. The usages in cloner.cpp need to be evaluated. |
| Comments |
| Comment by Githook User [ 11/Nov/21 ] |
|
Author: {'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}Message: |