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



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/GridCacheOffheapManager.java
##########
@@ -1041,7 +1041,7 @@ public void destroyPartitionStore(int partId) throws 
IgniteCheckedException {
 
         int tag = pageMemory.invalidate(grp.groupId(), partId);
 
-        if (grp.walEnabled())
+        if (grp.persistenceEnabled() && grp.walEnabled())

Review comment:
       > Could we encapsulate this to the walEnabled method?
   
   no, we can't. `walEnabled` combined with `cdcEnabled` to check if we need to 
log data records.




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