yugabyte/yugabyte-db

[Phase 2][Colocation] Handle colocated tables in YSQL distributed backup/restore

Closed this issue · 1 comments

Jira Link: [DB-396](https://yugabyte.atlassian.net/browse/DB-396)
Backup script should:

  1. Include colocated/not colocated in metadata
  2. Generate CREATE TABLE statements that include PG table OID.

Restore should:

  1. Use PG table OID while creating the table.
  2. Create colocated tables before creating non-colocated tables to avoid OID clashes.

Close this issue because instead of using table OID, we introduced colocation ID to solve the backup of colocated tables. See commit 71d527c for details.