[SERVER-36542] Make TransactionParticipant::getFromNonCheckedOutSession enforced in compile time Created: 08/Aug/18 Updated: 27/Oct/23 Resolved: 24/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Participants: |
| Description |
|
Possible solution is to make SessionCatalog::getOrCreateSession return a different type and change the signature from TransactionParticipant::getFromNonCheckedOutSession(Session*) to TransactionParticipant::get(NonCheckedOutSession*) |
| Comments |
| Comment by Kaloian Manassiev [ 24/May/19 ] |
|
This method is no longer present on the TransactionParticipant. |