alex-plekhanov commented on code in PR #12972:
URL: https://github.com/apache/ignite/pull/12972#discussion_r3088160480
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java:
##########
@@ -457,8 +457,6 @@ protected GridDhtLocalPartition localPartition() {
boolean deferred = false;
GridCacheVersion ver0 = null;
- cctx.shared().database().checkpointReadLock();
Review Comment:
Are you sure that all calls to unswap are covered with checkpoint read lock?
Maybe it's finally worth to add assert? Something like:
```
assert !checkExpire ||
cctx.shared().database().checkpointLockIsHeldByThread();
```
--
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]