Fabrízio de Royes Mello 0254abd9c2 Remove useless table lock
In ae21ee96 we fixed a race condition when running a query to get the
hypertable sizes and one or more chunks was dropped in a concurrent
session leading to exception because the chunks does not exist.

In fact the table lock introduced is useless because we also added
proper joins with Postgres catalog tables to ensure that the relation
exists in the database when calculating the sizes. And even worse with
this table lock now dropping chunks wait for the functions that
calculate the hypertable sizes.

Fixed it by removing the useless table lock and also added isolation
tests to make sure we'll not end up with race conditions again.
2023-11-15 12:17:33 -03:00
..
2023-11-15 12:17:33 -03:00
2023-11-15 12:17:33 -03:00