Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[YSQL] Creating a table using "IF NOT EXISTS" sometimes throws "type ... already exists" #1991
On YugaByte DB 184.108.40.206, creating a YSQL table using
For an example with logs, see 20190807T111825.000-0400.zip.
You can reproduce this with Jepsen c16f47674a342c7ac7ae5933261ad6ddbb14336a by
changed the title
Creating a table using "IF NOT EXISTS" sometimes throws "type ... already exists"
Aug 7, 2019
This is related to #1476.
Here's what I see in the logs:
We processed and created two tables (note that they have different UUIDs) when we should have detected and failed the second duplicate request. This happened because we only store postgres tables in id maps and not in name maps in
This will be fixed as a result of #1476.