We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Jira Link: DB-14665
The following unit test fails in case the FLAGS_TEST_ysql_ignore_add_fk_reference flag is set to true
FLAGS_TEST_ysql_ignore_add_fk_reference
true
TEST_F_EX(PgFKeyTest, DeferredConstraintReadAtTxnEnd, PgFKeyTestNoFKCache) { auto conn = ASSERT_RESULT(Connect()); ASSERT_OK(conn.Execute("CREATE TABLE pk_t(k INT, PRIMARY KEY (k ASC))")); ASSERT_OK(conn.Execute( "CREATE TABLE fk_t(k INT, pk_1 INT REFERENCES pk_t(k), " "pk_2 INT REFERENCES pk_t(k) DEFERRABLE INITIALLY DEFERRED, PRIMARY KEY (k ASC))")); ASSERT_OK(conn.Execute("INSERT INTO pk_t VALUES (1)")); ASSERT_OK(conn.StartTransaction(IsolationLevel::SNAPSHOT_ISOLATION)); ASSERT_OK(conn.Execute("INSERT INTO fk_t VALUES(1, 1, 2)")); ASSERT_OK(conn.Execute("INSERT INTO pk_t VALUES(2)")); ASSERT_OK(conn.CommitTransaction()); }
This behavior may lead to undesired transaction conflicts.
kind/bug
The text was updated successfully, but these errors were encountered:
d-uspenskiy
No branches or pull requests
Jira Link: DB-14665
Description
The following unit test fails in case the
FLAGS_TEST_ysql_ignore_add_fk_reference
flag is set totrue
This behavior may lead to undesired transaction conflicts.
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: