[SERVER-31590] WT yieldAndAwaitOplogDeletionRequest holds onto an OperationContext while blocking for an infrequent trigger Created: 16/Oct/17 Updated: 30/Oct/23 Resolved: 31/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.18, 3.4.11, 3.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Gottlieb (Inactive) | Assignee: | Donald Anderson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||||||
| Sprint: | Storage 2017-11-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
For WiredTiger, a background thread manages the size of the oplog, truncating it when necessary. However the piece that waits to truncate the oplog is holding onto a borrowed OperationContext. Waiting for a truncation point can be arbitrarily long, particularly when there are few writes coming into the system, or when the oplog has yet to start "rolling over". |
| Comments |
| Comment by Githook User [ 17/Nov/17 ] |
|
Author: {'name': 'Don Anderson', 'username': 'ddanderson', 'email': 'dda@mongodb.com'}Message: (cherry picked from commit 2a8818d4fd7b833b82997c9996aca9eb14471f09) |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'Don Anderson', 'username': 'ddanderson', 'email': 'dda@mongodb.com'}Message: (cherry picked from commit 2a8818d4fd7b833b82997c9996aca9eb14471f09) |
| Comment by Githook User [ 31/Oct/17 ] |
|
Author: {'email': 'dda@mongodb.com', 'name': 'Don Anderson', 'username': 'ddanderson'}Message: |