You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Currently, we only support PITR for DML for YSQL databases. This diff adds support for DDL restores
for YSQL databases.
We needed to restore the pg_catalog tables as well as bump up the version number in
pg_yb_catalog_version table.
With this diff, restores for Create/Delete works. Some of the alter command restores also work like
adding a column, deleting a column, renaming a column. Other types of alters are yet to be tested.
Test Plan:
ybd --cxx_test yb-admin-snapshot-schedule-test --gtest-filter YbAdminSnapshotScheduleTest.PgsqlAddColumn
ybd --cxx_test yb-admin-snapshot-schedule-test --gtest-filter
YbAdminSnapshotScheduleTest.PgsqlCreateTable
ybd --cxx_test yb-admin-snapshot-schedule-test --gtest-filter
YbAdminSnapshotScheduleTest.PgsqlCreateIndex
ybd --cxx_test yb-admin-snapshot-schedule-test --gtest-filter
YbAdminSnapshotScheduleTest.PgsqlDropTable
ybd --cxx_test yb-admin-snapshot-schedule-test --gtest-filter
YbAdminSnapshotScheduleTest.PgsqlDropIndex
Reviewers: dsrinivasan, bogdan, sergei
Reviewed By: sergei
Subscribers: zyu, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D12374
Summary:
After commit 7a779da, there were build errors on GCC. This
short diff fixes them.
Test Plan: Jenkins
Reviewers: sergei
Reviewed By: sergei
Subscribers: ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D12454
Summary:
This diff switches sys catalog iteration during restore to lower layer.
To avoid encoding/decoding QLTableRow.
It speeds up system catalog restoration by multiple times in debug build.
Test Plan: ybd --gtest_filter YbAdminSnapshotScheduleTest.PgsqlDropTable
Reviewers: skedia
Reviewed By: skedia
Subscribers: ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D12685
This will require some broader conversation, as apparently for PG there are also some shared objects, like roles & permissions, tablespaces, etc.
The text was updated successfully, but these errors were encountered: