yuqi1129 opened a new pull request, #12782:
URL: https://github.com/apache/gravitino/pull/12782

   ### What changes were proposed in this pull request?\n\n- Apply stable-ID 
and expected-version CAS to policy alter, overwrite, and delete operations.\n- 
Create a complete immutable policy snapshot for every new version.\n- Preserve 
monotonic policy version history during overwrite.\n- Lock parent metalakes and 
policy roots during relationship changes.\n- Atomically clean policy versions 
and dependent relationships during deletion.\n- Reuse the common OCC support 
introduced by #12639.\n\n### Why are the changes needed?\n\nConcurrent policy 
writes could otherwise cause lost updates, incomplete snapshots, orphan 
versions, or partial relationship cleanup.\n\nFix: #12776\n\n### Does this PR 
introduce _any_ user-facing change?\n\nNo API or configuration change. 
Concurrent stale writes now fail with an optimistic lock exception, and policy 
overwrite retains version history.\n\n### How was this patch tested?\n\n- \n- 
\n- 


-- 
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]

Reply via email to