yuqi1129 opened a new pull request, #12824: URL: https://github.com/apache/gravitino/pull/12824
### What changes were proposed in this pull request? - Add version-CAS updates and deletes for managed views. - Execute root metadata CAS before writing view versions and dependent rows. - Classify stale-version conflicts and identity changes through stable-ID locking reads. - Preserve monotonic view versions during overwrite operations. - Fence parent schemas during view 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 view-version rows, stale deletes could remove relationships belonging to newer views, and overwrite operations could reset OCC versions. Fix: #12653 ### Does this PR introduce _any_ user-facing change? No API or configuration changes. Concurrent view writes now report optimistic-lock or not-found errors consistently. ### How was this patch tested? - Ran ViewMetaService tests against H2, MySQL, and PostgreSQL. - Ran base and PostgreSQL view 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]
