timoninmaxim commented on code in PR #11612: URL: https://github.com/apache/ignite/pull/11612#discussion_r1863164755
########## modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java: ########## @@ -575,13 +585,20 @@ private boolean consumeSegment(Path segment) { curSegmentIdx.value(segmentIdx); + long start = U.currentTimeMillis(); + if (cdcModeState == CdcMode.IGNITE_NODE_ACTIVE) { - if (consumeSegmentPassively(builder)) + if (consumeSegmentPassively(builder)) { + walProcessingTime.value(U.currentTimeMillis() - start); + return true; + } } else consumeSegmentActively(builder); + walProcessingTime.value(U.currentTimeMillis() - start); Review Comment: code duplication -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org