[docdb] PITR-YSQL: Support with Tablespaces #10257
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-636
Observed in builds: 2.8.0.0 b5, 2.9.1.0 b 132
With geo-partition being requirement, we need to ensure PITR support with tablespaces. Tablespace information is stored in the
pg_tablespace
system table which is global and not shared by databases. Currently, we don't restore the global objects ofpg_catalog
. For e.g. one scenario where this will have consequences:Since
pg_tablespace
isn't restored, the tablespace will continue to remain dropped even after restore leading to a failure in restoring the tables. There are several approaches we could take to mitigate this:pg_tablespace
as well - this can have unintended consequences because we might end up dropping some tablespaces containing tables of other databases.Also, how does this interplay with the
Alter Tablespace
feature that we intend to support?The text was updated successfully, but these errors were encountered: