[SERVER-42204] ReplBatcher must handle exceptions from OplogApplier::calculateBatchLimitBytes Created: 12/Jul/19 Updated: 29/Oct/23 Resolved: 07/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 4.0.10, 4.2.0-rc2 |
| Fix Version/s: | 4.3.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | William Schultz (Inactive) | Assignee: | A. Jesse Jiryu Davis |
| 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: | Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 10 | ||||||||
| Description |
|
The OplogApplier::calculateBatchLimitBytes function call here tries to acquire a lock and so may throw an exception if it is interrupted (at shutdown, for example). We should make sure the ReplBatcher can handle these exceptions. We may be able to extend the scope of this uninterruptible code block, which was added to handle a nearly identical issue in a later part of that code. |
| Comments |
| Comment by Githook User [ 06/Sep/19 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: |