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] PgLibPqTest_SerializableColoring may fail during table cleanup before a new iteration #887

Closed
mbautin opened this issue Feb 22, 2019 · 0 comments
Assignees
Labels
kind/bug This issue is a bug

Comments

@mbautin
Copy link
Contributor

mbautin commented Feb 22, 2019

Repro: yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.SerializableColoring --clang

Error when deleting all rows from the table:

Bad status: Network error (yb/yql/pgwrapper/libpq_utils.cc:34): Execute 'DELETE FROM t' failed: 7, message: ERROR: Operation failed. Try again.: Failed Write(tablet: TABLET2, num_ops: 1, num_attempts: 1, txn: 1de9fc74-6716-4d95-92ad-9a513fb788f0) to tablet TABLET2 on tablet server { uuid: PEER_TS-2 private: [host: "127.0.0.1" port: 23522] cloud_info: placement_cloud: "cloud1" placement_region: "datacenter1" placement_zone: "rack1" after 1 attempt(s): Conflicts with higher priority transaction: 79d9f98e-7a05-4488-a3f8-9033a7e3c5b8
@rao-vasireddy rao-vasireddy added the kind/bug This issue is a bug label Feb 28, 2019
yugabyte-ci pushed a commit that referenced this issue Mar 9, 2019
…ibPqTest.SerializableColoring test

Summary:
Sometimes transaction from previous operation did not fully applied.
And it conflicts with table cleanup, i.e. delete all records from table.

Added handling of this case.

Test Plan: ybd release --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.SerializableColoring -n 200

Reviewers: mikhail, robert, timur

Reviewed By: timur

Subscribers: ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D6301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

3 participants