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

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