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

   ### What changes were proposed in this pull request?
   
   - Add version-CAS updates and deletes for managed functions.
   - Execute root metadata CAS before writing function versions and dependent 
rows.
   - Classify stale-version conflicts and identity changes through stable-ID 
locking reads.
   - Preserve monotonic function versions during overwrite operations.
   - Fence parent schemas during function creation.
   - Add SQL-provider and service coverage for H2, MySQL, and PostgreSQL.
   
   ### Why are the changes needed?
   
   Concurrent writers could create competing function-version rows, stale 
deletes could remove relationships belonging to newer functions, and overwrite 
operations could reset OCC versions.
   
   Fix: #12652
   
   ### Does this PR introduce _any_ user-facing change?
   
   No API or configuration changes. Concurrent function writes now report 
optimistic-lock or not-found errors consistently.
   
   ### How was this patch tested?
   
   - Ran FunctionMetaService tests against H2, MySQL, and PostgreSQL.
   - Ran base and PostgreSQL function SQL-provider tests.
   - Ran `./gradlew :core:spotlessApply`.
   - Ran `./gradlew :core:compileTestJava`.
   - Ran `./gradlew :core:javadoc`.


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