nevzheng commented on issue #12170:
URL: https://github.com/apache/gravitino/issues/12170#issuecomment-5075130567

   ## My Read
   #12170 is a cache locking bug, not a DB issue. List auth’s owner preload 
holds SegmentedLock across the JDBC batch, so large listTables blocks 
concurrent createTable invalidations (#9914).
   
   ## Rec A short term. 
   Land #12171 — don’t hold cache locks across the backend call. Right hotfix.
   
   ## Rec B (follow-up)
   If requirements allow, prefer snapshot consistency on this path: readers use 
committed/version-validated state without locking across I/O, so they don’t 
stall writers. Matches MySQL/PG MVCC and auth’s existing cache model.
   
   ## Ask
   @danhuawang 
   — can you weigh freshness vs throughput and call whether snapshot semantics 
are acceptable for owner preload / list auth? And follow up with a proposed 
fix. Thanks. 


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