-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue within the E-Maj rollback processing when 1) two tables …
…of the rolled back tables groups are linked by a foreign key, 2) one of these tables has been assigned to its group after the other, and 3) an E-Maj rollback is executed targeting a mark set before the last table assignment. In this case, there was a risk of undetected referential integrity violation. This was introduced with E-Maj 4.0.0 that introduced the 'session_replication_role=replica' optimization in tables rollback processing. In this case, drop and re-add the FK or differ the FK checks at the transaction end, as it was done before the 'session_replication_role=replica' optimization. A test case has been added to the alter_logging.sql script.
- Loading branch information
Showing
28 changed files
with
1,327 additions
and
998 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
Oops, something went wrong.