Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YCQL] Fix misleading errors when failing to insert into a unique index #14317

Closed
lnguyen-yugabyte opened this issue Oct 4, 2022 · 1 comment
Assignees
Labels
area/ycql Yugabyte CQL (YCQL) kind/bug This issue is a bug priority/low Low priority

Comments

@lnguyen-yugabyte
Copy link
Contributor

lnguyen-yugabyte commented Oct 4, 2022

Jira Link: DB-3751

Description

https://github.com/yugabyte/yugabyte-db/blob/master/src/yb/tablet/write_query.cc#L690-L707

Specifically
/ If this is an insert into a unique index and it fails to apply, report duplicate value err.

We should check what kind of error we are getting here, and report it accordingly.

@lnguyen-yugabyte lnguyen-yugabyte added area/ycql Yugabyte CQL (YCQL) status/awaiting-triage Issue awaiting triage labels Oct 4, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Oct 4, 2022
@lnguyen-yugabyte lnguyen-yugabyte self-assigned this Oct 4, 2022
@lnguyen-yugabyte lnguyen-yugabyte added priority/low Low priority and removed priority/medium Medium priority issue labels Oct 4, 2022
@ionthegeek
Copy link
Contributor

Duplicate of #14163

@ionthegeek ionthegeek marked this as a duplicate of #14163 Oct 4, 2022
@rthallamko3 rthallamko3 removed the status/awaiting-triage Issue awaiting triage label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ycql Yugabyte CQL (YCQL) kind/bug This issue is a bug priority/low Low priority
Projects
None yet
Development

No branches or pull requests

4 participants