You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "yuqi1129 (via GitHub)" <gi...@apache.org> on 2026/08/13 07:13:45 UTC
[I] [Subtask] Add version-CAS OCC for schema writes [gravitino]
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Subtask] Add version-CAS OCC for schema writes [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #12453: [Subtask] Add version-CAS OCC for schema writes
URL: https://github.com/apache/gravitino/issues/12453
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org