Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More robust loading of all schema rules
Previously a load of all schema rule, e.g. when dropping an index rule could temporarily observe deleted records and fail mid-way, this due to another concurrent drop. This race opportunity was likely made available when breaking the global schema lock into per-label locks. The loading is now aware of this and ignores unused records it may see along the way. It still fails on malformed records.
- Loading branch information
Showing
1 changed file
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters