[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:
Depends
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: SERVER-34847 Catch all DBExceptions in index builder
Branch: master
https://github.com/mongodb/mongo/commit/e205726dd5ea4effac7466efc35a9eb52fdb618d

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).

Generated at Thu Feb 08 04:38:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.