[SERVER-67514] SizeStorer load() can get stuck in page eviction Created: 24/Jun/22 Updated: 06/Dec/23 Resolved: 04/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Yuhong Zhang | Assignee: | Sulabh Mahajan |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v6.0, v5.0, v4.4, v4.2
|
||||||||||||||||||||||||||||
| Sprint: | Execution Team 2022-07-11 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||
| Description |
|
Currently the size storer uses its own separate wiredtiger session from the caller because the size storer's reads and writes are untimestamped and wiredtiger has the limit of not able to change the config of an existing transaction. As a result, when eviction could not find candidates to evict, we run into the deadlock with ourselves. We might want to add timeout to the load function similar to flush, and then make the caller to retry to break out of the deadlock. |
| Comments |
| Comment by Sulabh Mahajan [ 04/Jul/22 ] |
|
|