-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: use new pub_id when evolving materializations
Ensure that the materialization controller will always use a new publication id when applying onIncompatibleSchemaChange actions. Previously, it would re-use the publication id of the one that had failed. That doesn't work if the failed publication was a "touch" publication. Applying `onIncompatibleSchemaChange` actions modifies the model, and so the publication id must be greater than `last_pub_id`. Generating a new id ensures that is always the case.
- Loading branch information
Showing
2 changed files
with
18 additions
and
38 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