[YSQL] Test fk-contention in isolation regress suite fails (the test hasn't yet been added) #12325
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
pg-compatibility
Label for issues that result in differences b/w YSQL and Pg semantics
priority/medium
Medium priority issue
Jira Link: DB-496
Description
Check fk-contention.spec for the test and fk-contention.out for the expected output. We fail in YSQL because the UPDATE conflicts with the lock taken by the INSERT. Avoiding the conflict will help us improve performance in such cases and also achieve same semantics as Pg.
To quickly repro it, add "test: fk-contention" to the yb_pg_isolation_schedule, comment out other tests and then run either -
./yb_build.sh --java-test org.yb.pgsql.TestPgIsolationRegress#isolationRegress
The text was updated successfully, but these errors were encountered: