jerryshao opened a new pull request, #14559: URL: https://github.com/apache/gravitino/pull/14559
### What changes were proposed in this pull request? Add backing tag support to the domain manager: - Create domains and sub-domains with a new NO_VALUE tag or an existing tag with an optional value. - Create the domain, new tag and parent edge atomically. - Replace or remove a backing tag; setting the current binding is a no-op. - Validate allowed values and prevent conflicting bindings under the tag lock. - Invalidate the cache entry after creating a backing tag. Depends on #14522. Authorization, tag ownership, events and REST support are deferred to later subtasks. ### Why are the changes needed? Backing tags determine domain membership. Domain creation must establish an explicit binding and prevent multiple domains from claiming conflicting bindings. Fixes #14363 ### Does this PR introduce _any_ user-facing change? Adds backing tag parameters to core domain creation operations and implements updateBackingTag. No REST or client changes are included. ### How was this patch tested? - compileJava compileTestJava spotlessCheck -PskipITs - :core:javadoc - coreUnitTest: 2,593 tests passed. - Related coreH2Test coverage: 84 tests passed. Tests cover binding conflicts, allowed values, rollback, concurrent tag creation, session cache handling and tag cache invalidation. MySQL and PostgreSQL are left to CI. -- 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]
