[SERVER-34847] MultiIndexBlock builder needs to catch all DBexceptions Created: 04/May/18 Updated: 29/Oct/23 Resolved: 16/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Xiangyu Yao (Inactive) |
| 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: | Storage NYC 2018-05-21 | ||||
| Participants: | |||||
| Linked BF Score: | 59 | ||||
| Description |
|
The index builder can now have lock acquisitions throw a DBException when interrupted, so we should be sure we capture those exceptions and convert them into Statuses. |
| Comments |
| Comment by Githook User [ 16/May/18 ] |
|
Author: {'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24', 'name': 'Xiangyu Yao'}Message: |
| Comment by Eric Milkie [ 04/May/18 ] |
|
This can be fixed by modifying the catch() at index_builder.cpp:204 (it currently only catches WriteConflictExceptions). |