zstan commented on code in PR #12843:
URL: https://github.com/apache/ignite/pull/12843#discussion_r2944848651
##########
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:
1. do we really need this lock ?
2. can we cover with appropriate test such a case for defence in future ?
--
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]