Cyrill commented on code in PR #5544: URL: https://github.com/apache/ignite-3/pull/5544#discussion_r2031191577
########## modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java: ########## @@ -848,6 +1053,31 @@ private static Map<TablePartitionId, LocalPartitionStateByNode> normalizeLocal( return map; } + private static LocalZonePartitionState toZoneLocalPartitionState( + LocalPartitionStateMessage stateMsg, + long maxLogIndex, + ZonePartitionId zonePartitionId, + Catalog catalog + ) { + LocalPartitionStateEnum stateEnum = stateMsg.state(); + + if (stateEnum == HEALTHY && maxLogIndex - stateMsg.logIndex() >= CATCH_UP_THRESHOLD) { + stateEnum = CATCHING_UP; + } Review Comment: Done -- 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