nizhikov commented on a change in pull request #9345:
URL: https://github.com/apache/ignite/pull/9345#discussion_r803348555



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
##########
@@ -6961,7 +6961,7 @@ private void versionCheck(@Nullable IgniteBiTuple<Object, 
Exception> invokeRes)
             if (cctx.offheap().mvccApplyHistoryIfAbsent(this, entryHist)) {
                 updated = true;
 
-                if (!cctx.isNear() && cctx.group().persistenceEnabled() && 
cctx.group().walEnabled()) {
+                if (!cctx.isNear() && CU.isDataRecordsEnabled(cctx.group())) {

Review comment:
       The whole branch under the `if` is aboud MVCC*DataRecords*.
   So I found `is*DataRecords*Enabled` pretty self explaining name.




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