Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
-
Storage Non-NYC 2018-04-23
Description
Unique index upgrade requires the app_metadata stored for the index's WT table to be updated using the alter() command. For a successful execution, alter() requires an exclusive access to the underlying file, otherwise it fails with an EBUSY error. This exclusive access is not granted if there are cursors opened on the file.
Our current implementation fails intermittently when other operations on the index race with the index upgrade process.
This ticket tracks the work needed to implement an alter() invocation that deterministically gets this exclusive access and doesn't fail intermittently with an EBUSY error.