anton-vinogradov commented on code in PR #12843:
URL: https://github.com/apache/ignite/pull/12843#discussion_r2945907750


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java:
##########
@@ -2395,7 +2395,14 @@ private boolean checkExpired() throws 
IgniteCheckedException {
             long delta = expireTime - U.currentTimeMillis();
 
             if (delta <= 0) {
-                removeValue();
+                cctx.shared().database().checkpointReadLock();

Review Comment:
   Not sure such easy fix is a proper solution. 
   The question is why none of 16 
`cctx.shared().database().checkpointReadLock();` usages helped.
   
   The solution is not to hold lock, but to understand why it's not held.



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