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

   ### Describe the subtask
   
   **Priority:** P0
   
   **Dependencies:** #13624 and TX-A. Integrate with TX-B and #13629 before 
opening the public transaction entry.
   
   Make cache publication/invalidation obey the actual outer transaction result 
rather than a backend method's return. Do not publish uncommitted entities. 
Handle commit, rollback, and unknown commit outcomes conservatively, using 
existing epoch-aware invalidation helpers.
   
   Audit insert, update/rename, delete/cascade, relations, and batch paths. A 
simple first version may clear the store cache after each explicit composed 
transaction, while preserving ordinary standalone behavior; document and 
measure this cost before choosing it. Precise key tracking is optional only if 
the complete affected set is proven.
   
   Acceptance: deterministic concurrent-read/late-fill tests, no uncommitted 
publication, correct old/new-name and subtree invalidation, and no stale 
surviving cache entry after commit. Completion failures must remain observable 
and must not report an already committed write as rolled back or retryable. 
Verify behavior with supported cache implementations.
   
   Depends on #13624 and TX-A; coordinate with TX-B and #13629.
   
   ### Parent issue
   
   https://github.com/apache/gravitino/issues/13621
   


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