[SERVER-44944] avoid taking the PBWM lock in SessionsCollectionRS::_isStandaloneOrPrimary() Created: 04/Dec/19 Updated: 29/Oct/23 Resolved: 13/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Bug | 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 | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Execution Team 2019-12-16 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 44 | ||||||||||||
| Description |
|
SessionsCollectionRS::_isStandaloneOrPrimary() is used by the PeriodicJob for the LogicalSessionCache on both primaries and secondaries. Because this check relies implicitly on the PBWM lock, this process may be blocked on slow oplog application. It may be possible to modify this function to not require the PBWM lock. |
| Comments |
| Comment by Githook User [ 11/Dec/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |