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

[YSQL][SQLsmith] ERROR: Remote error: Illegal state (yb/client/transaction.cc:678): Attempt to release transaction in the wrong state: kAborted #11222

Open
def- opened this issue Jan 26, 2022 · 2 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug kind/failing-test Tests and testing infra priority/medium Medium priority issue qa_automation Bugs identified via itest-system, LST, Stress automation or causing automation failures

Comments

@def-
Copy link
Contributor

def- commented Jan 26, 2022

Jira Link: DB-1051

Description

This happens sporadically with SQLsmith, can't reproduce it:

CREATE TABLE pg_temp_foo (col int);

update public.pg_temp_foo set
  col = public.pg_temp_foo.col
returning
  public.pg_temp_foo.col as c0,
  public.pg_temp_foo.col as c1,
  public.pg_temp_foo.col as c2,
  public.pg_temp_foo.col as c3;

Fails with:

ERROR:  Remote error: Illegal state (yb/client/transaction.cc:678): Attempt to release transaction in the wrong state 26e34c72-9ccf-4d4a-99d0-c0c0e29f97a7: kAborted
@def- def- added area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug labels Jan 26, 2022
@tedyu
Copy link
Contributor

tedyu commented Jan 26, 2022

Can you outline the table definition for public.pg_temp_foo ?

Thanks

@def-
Copy link
Contributor Author

def- commented Jan 26, 2022

CREATE TABLE pg_temp_foo (col int);

It's possible that this is caused by concurrent queries running, which would explain why I can't reproduce it easily in isolation.

@def- def- changed the title [YSQL] ERROR: Remote error: Illegal state (yb/client/transaction.cc:678): Attempt to release transaction in the wrong state: kAborted [YSQL][SQLsmith] ERROR: Remote error: Illegal state (yb/client/transaction.cc:678): Attempt to release transaction in the wrong state: kAborted Feb 3, 2022
@yugabyte-ci yugabyte-ci added the priority/medium Medium priority issue label Jun 8, 2022
@kripasreenivasan kripasreenivasan added the qa_automation Bugs identified via itest-system, LST, Stress automation or causing automation failures label Sep 13, 2022
@yugabyte-ci yugabyte-ci added the kind/failing-test Tests and testing infra label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug kind/failing-test Tests and testing infra priority/medium Medium priority issue qa_automation Bugs identified via itest-system, LST, Stress automation or causing automation failures
Projects
None yet
Development

No branches or pull requests

5 participants