-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consistent lookup: handle insert ignore
Fixes #4974 Insert ignore wasn't working correctly because the verify was using the normal transaction instead of the 'pre' transaction where the rows were actually created. This implementation changes the consistent lookup's Verify function to also use the 'pre' transaction always. There is another code path that gets used if the vindex is unowned. That will also cause a 'pre' transaction to be created. Without this change, the transaction would have been a normal one. This mildly affects the commit order, but there should be no material difference. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
- Loading branch information
Showing
4 changed files
with
54 additions
and
11 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