yuqi1129 opened a new issue, #12453: URL: https://github.com/apache/gravitino/issues/12453
### Describe the subtask Add database-backed optimistic concurrency control and transaction boundaries for schema writes. - Advance the schema OCC version on every alter, and guard alter and drop with a compare-and-set on the observed version. - Make managed schema creation insert-only so a concurrent same-name create cannot silently overwrite the winner. - Take a shared lock on the parent catalog row when creating a schema, and serialize hierarchical ancestor materialization and schema drops through the catalog row so overlapping cascades share one lock order. - Lock the parent schema row before writing a table, view, fileset, function, model, or topic. - Check views and functions before a non-cascade schema drop. Split out of #12350 to keep each review small. Third of three: metalake -> catalog -> schema. ### Parent issue https://github.com/apache/gravitino/issues/12342 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
