abashev commented on code in PR #12843:
URL: https://github.com/apache/ignite/pull/12843#discussion_r3011324914
##########
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:
The call starts from
org.apache.ignite.internal.processors.cache.GridCacheAdapter.GlobalClearAllJob
- this job is cleaning out expired objects from a cache and it starts without
any locks with direct access to a cache. In any case it should add overall
stability for all tests
--
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]