-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#14163] yql - Improve logging in case of duplicate index error
Summary: We show the client the same error message indicating a unique constraint error any time a unique index operation failed and the response explicitly set applied=false. While these conditions would only be met in the case of a duplicate value error, the code here invited speculation that we might be masking the true error which may be different. This revision provides an improved explanation of why this branch is ok to assume this is a unique index constraint error and adds additional VLOGs in case the doubt ever rises in production. Test Plan: Jenkins Reviewers: pjain, amitanand Reviewed By: amitanand Subscribers: kannan Differential Revision: https://phabricator.dev.yugabyte.com/D20063
- Loading branch information
1 parent
6876a67
commit 2800531
Showing
2 changed files
with
11 additions
and
7 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