nizhikov commented on a change in pull request #9345:
URL: https://github.com/apache/ignite/pull/9345#discussion_r824555320
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java
##########
@@ -801,17 +802,32 @@ else if (op == READ) {
cctx.mvccCaching().onTxFinished(this, true);
- if (!near() && !F.isEmpty(dataEntries) && cctx.wal()
!= null) {
+ boolean walEnabled = false;
+
+ // Log only there are at least one persistent or cdc
enabled group.
+ if (!near() && !F.isEmpty(dataEntries) &&
cctx.wal(true) != null) {
+ for (int i = 0; i < dataEntries.size(); i++) {
+ CacheGroupContext grpCtx =
dataEntries.get(i).get2().context().group();
+
+ if (grpCtx.cdcEnabled() &&
grpCtx.walEnabled()) {
Review comment:
> Previous logic didn't check grpCtx.walEnabled()
It seesm like a bug to me.
We log `DataRecords` for a group has persistence disabled.
--
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]