yuqi1129 opened a new issue, #12775: URL: https://github.com/apache/gravitino/issues/12775
### Describe the subtask Implement database optimistic concurrency control and atomic service operations for managed tags. Split from #12347. - Audit tag create, alter, delete, assignment-value, and metadata-object association mutations. - Fence the active parent metalake during tag creation using the shared parent-lock pattern. - Advance `current_version` on every successful alter. - Match updates by tag ID, expected version, and active-row state. - Preserve monotonic versions during overwrite instead of resetting the OCC token. - Make tag deletion version checked and execute the root CAS before relationship, ownership, and change-log cleanup. - Use `OccWriteSupport` to classify missing entities versus optimistic-lock conflicts. - Apply association additions, removals, and value changes atomically; a conflict must not leave a partial assignment set. - Add H2, MySQL, and PostgreSQL coverage for create/drop fencing, alter races, stale deletes, overwrite versioning, assignment updates, and rollback. No database migration is required because the OCC columns already exist. Depends on #12341 and #12639. ### Parent issue https://github.com/apache/gravitino/issues/12166 -- 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]
