Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Storage NYC 2019-01-28
-
31
Description
The IndexBuilder catches exceptions, but if the database isn't locked in MODE_X, instead of exiting and reporting the error, this invariant fails in the IndexBuildBlock.
The IndexBuilder should use a ScopeGuard to relock the database on exit so that the destructor of the MultiIndexBlock is never called without the appropriate lock.