yuqi1129 opened a new issue, #13004:
URL: https://github.com/apache/gravitino/issues/13004

   ### Describe the subtask
   
   Generic Owner, Tag, Policy, statistic, and privilege relations reference 
metadata objects. Source inspection identifies target-side race windows; a 
controlled Owner/Catalog reproduction confirms a late assignment after target 
deletion. Existing #12154 GC successfully repairs that target-side orphan on 
H2, MySQL, and PostgreSQL. This must not be described as lacking recovery.
   
   Determine whether these operations require synchronous endpoint integrity or 
intentionally permit eventual GC repair. Review supported object-type 
combinations, public reads, caller-visible outcomes, and the existing recovery 
contract. Reproduce relevant Tag/Policy/privilege paths before prescribing 
changes.
   
   Deliverables:
   - A documented consistency decision and tests demonstrating its guarantees 
and limits.
   - If synchronous fencing is required, a reviewed lock order compatible with 
hierarchy cascades and existing Tag-to-Policy locks, followed by narrowly 
scoped implementation tasks.
   - If GC recovery is sufficient, document and test recovery rather than 
adding broad locks.
   
   Policy-Tag endpoint locking already exists; do not duplicate #12679.
   
   ### Parent issue
   
   https://github.com/apache/gravitino/issues/10238
   


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