pithecuse527 opened a new pull request, #14381:
URL: https://github.com/apache/gravitino/pull/14381

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): Support xxx"
        - "[#233] fix: Check null before access result in xxx"
        - "[MINOR] refactor: Fix typo in variable name"
        - "[MINOR] docs: Fix typo in README"
        - "[#255] test: Fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   `CaffeineEntityCache` now builds its prefix-index key from the identifier 
levels and escapes `.` and the escape character `U+0001` inside each level, 
instead of using `EntityCacheKey.toString()`.
   
   This will stop distinct identifiers such as `[lake, cat, sch, a.b]` and 
`[lake, cat, sch.a, b]` from sharing one index key, so invalidating a parent 
removes every cached descendant again.
   
   ### Why are the changes needed?
   
   Fixes #14380 
   
   ### Does this PR introduce _any_ user-facing change?
   
   no
   
   ### How was this patch tested?
   
   UT
   


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