Skip to content

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

@def-

Description

@def-

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

Metadata

Metadata

Assignees

Labels

area/ysqlYugabyte SQL (YSQL)kind/bugThis issue is a bugkind/failing-testTests and testing infrapriority/mediumMedium priority issueqa_automationBugs identified via itest-system, LST, Stress automation or causing automation failures

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions