yuqi1129 commented on code in PR #9773:
URL: https://github.com/apache/gravitino/pull/9773#discussion_r2716050452


##########
core/src/main/java/org/apache/gravitino/cache/ReverseIndexCache.java:
##########
@@ -72,7 +72,7 @@ public class ReverseIndexCache {
    * or the data will be in the memory forever.
    */
   private final Map<EntityCacheKey, List<EntityCacheKey>> 
entityToReverseIndexMap =
-      Maps.newHashMap();
+      Maps.newConcurrentMap();

Review Comment:
   So, it seems that the segment lock with write permission can't work in the 
concurrent environment. We may need to 
   check whether this is by design or a bug when using the segment lock
   



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