apache / apache/gravitino

[EPIC] Support metadata undelete for container hierarchies

Open
#12,190 0 comments 0 reactions 1 assignee Claimed by @nevzheng View on GitHub
epic
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### Describe the proposal

Child of #12187.

Linear tracking: [DAT-322](https://linear.app/datastrato/issue/DAT-322/support-metadata-undelete-for-container-hierarchies)

Support metadata-only undelete for schemas, catalogs, and metalakes. A container restore revives the exact recorded deletion tree in one relational transaction. An incomplete generation fails without partially restoring metadata.

The cascade-hardening lane can begin after #12188. Exact schema/catalog recovery composes the leaf semantics from #12189. Whole-metalake recovery is the join point and also waits for the standalone metalake-root semantics in #12191.

Individual implementation tickets carry the precise dependency edges.

### Task list

- [ ] **TBD** — Complete and verify existing container-delete cascades
- [ ] **TBD** — Implement exact schema-tree recovery
- [ ] **TBD** — Implement exact catalog-tree recovery
- [ ] **TBD** — Implement exact whole-metalake recovery
- [ ] **TBD** — Complete backend, REST, Java client, OpenAPI, rollback, and concurrency validation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.