forked from geldata/gel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove insertion of extra repairs in patch queue (geldata#8280)
Currently, if there is *any* repair in a patch queue, we insert a repair after *every* patch that modifies the std schema. This was in combination with deferring all repairs until the last one in the queue, which allowed us to avoid needing to load the current standard schema in order to do a repair. But we implemented support for doing that as part of patching user extensions, so merge all of the schema repair code into that. I tested this on 5.x's substantial collection of complex patches, and then forward ported. Since I had to resolve more conflicts there than I expected, I then also injected a testing repair into the 6.x backport (geldata#8278), which shook out that `schema_repair()` is fully broken on 6.x (fixed in geldata#8279), but no patch-specific issues.
- Loading branch information
Showing
3 changed files
with
47 additions
and
76 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
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
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