forked from cockroachdb/cockroach
-
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.
Log Events for Alter Table, Async Schema Change
Commit adds three new event log types: + "Alter Table", logged for every ALTER TABLE DDL statement. + "Finish Schema Change", logged when an asynchronous schema change is completed. + "Reverse Schema Change", logged when an asynchronous schema change encounters an error (such as a constraint violation during backfill) and is rolled back. This Commit encountered an interesting, perhaps unintended effect with `SystemConfigTrigger`: in a "mixed" transaction which updates both system and non-system keys, the system changes will only be gossiped if the transaction record is located on the system range. In other words, "mixed" transactions will only work correctly if the system keys are modified first. Issue cockroachdb#7570 had been logged to track this unexpected behavior; this commit has also added a number of comments and a logged error to address this.
- Loading branch information
Matt Tracy
committed
Jul 7, 2016
1 parent
d3e117a
commit bde7d24
Showing
9 changed files
with
171 additions
and
15 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
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
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