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] System cache inconsistency #10023

Open
d-uspenskiy opened this issue Sep 16, 2021 · 0 comments
Open

[YSQL] System cache inconsistency #10023

d-uspenskiy opened this issue Sep 16, 2021 · 0 comments
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue
Projects

Comments

@d-uspenskiy
Copy link
Contributor

d-uspenskiy commented Sep 16, 2021

Jira Link: DB-4792
The following steps can break system cache consistency:

  • start RF=3 cluster
  • connect ysqlsh to node1 with ./bin/ysqlsh -h 127.0.0.1 (let's name it conn1)
  • run CREATE TABLE t(k INT) on conn1
  • connect ysqlsh to node2 with ./bin/ysqlsh -h 127.0.0.2 (conn2)
  • run SELECT * FROM t on conn2
  • start a transaction on conn2 by running BEGIN
  • drop the table on conn1 by DROP TABLE t
  • run CREATE VIEW v AS SELECT * FROM t on conn1 (it should fail but it doesn't)
  • run COMMIT on conn1
  • run SELECT * FROM v on conn1 (it fails with the error ERROR: cache lookup failed for relation 16384)
@d-uspenskiy d-uspenskiy added the kind/bug This issue is a bug label Sep 16, 2021
@d-uspenskiy d-uspenskiy added this to Backlog in YSQL via automation Sep 16, 2021
@rthallamko3 rthallamko3 added the area/ysql Yugabyte SQL (YSQL) label Jan 3, 2023
@yugabyte-ci yugabyte-ci added the priority/medium Medium priority issue label Jan 3, 2023
@yugabyte-ci yugabyte-ci added status/awaiting-triage Issue awaiting triage and removed status/awaiting-triage Issue awaiting triage labels Jan 17, 2023
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 priority/medium Medium priority issue
Projects
Status: No status
YSQL
  
Backlog
Development

No branches or pull requests

4 participants