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

01106f08-12ea-4900-a144-75a7753acab5 Conflicts with higher priority transaction #10283

Closed
gopi18dba opened this issue Oct 13, 2021 · 3 comments
Closed
Labels
area/ecosystem Label for all ecosystem related projects area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@gopi18dba
Copy link

gopi18dba commented Oct 13, 2021

Jira Link: DB-1024
Got below error while running the benchmark performance for yugabyte with tpcc and chbenchmark.

Caused by: org.postgresql.util.PSQLException: ERROR: Operation failed. Try again.: [Operation failed. Try again. (yb/docdb/conflict_resolution.cc:73): 01106f08-12ea-4900-a144-75a7753acab5 Conflicts with higher priority transaction: bce07dae-e544-41fa-a4c1-14767cf89a72 (transaction error 3)].

link: https://github.com/cmu-db/benchbase

@ddorian
Copy link
Contributor

ddorian commented Oct 14, 2021

Hi @gopi18dba

This is an error that occurs because of our locking mechanism for concurrency: https://docs.yugabyte.com/latest/architecture/transactions/explicit-locking/.

In this case, the error query/transaction has to be retried from the client layer.

@ddorian ddorian added area/ysql Yugabyte SQL (YSQL) area/ecosystem Label for all ecosystem related projects labels Oct 14, 2021
@ddorian
Copy link
Contributor

ddorian commented Oct 14, 2021

Can you benchmark with any other tool that we've tested https://docs.yugabyte.com/latest/benchmark/ ?

@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 8, 2022
@sushantrmishra
Copy link

sushantrmishra commented Sep 5, 2022

We also have added support for Read Committed isolation level GH #13557 . Using Read committed isolation level will reduce the these errors as well.

Documentation:
https://docs.yugabyte.com/preview/architecture/transactions/read-committed/

Please reopen this issue if you are still facing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ecosystem Label for all ecosystem related projects area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects
Status: Done
Development

No branches or pull requests

4 participants