shishkovilja commented on code in PR #10638:
URL: https://github.com/apache/ignite/pull/10638#discussion_r1164150593
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotRestoreProcess.java:
##########
@@ -1114,11 +1114,14 @@ private IgniteInternalFuture<Boolean> preload(UUID
reqId) {
try {
if (log.isInfoEnabled() && !snpAff.isEmpty()) {
- log.info("Trying to request partitions from remote nodes "
+
- "[reqId=" + reqId +
- ", snapshot=" + opCtx0.snpName +
- ", map=" +
snpAff.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey,
- e -> partitionsMapToString(e.getValue()))) + ']');
+ for (Map.Entry<UUID, Map<Integer, Set<Integer>>> m :
snpAff.entrySet()) {
+ log.info("Trying to request partitions from remote
nodes " +
+ "[reqId=" + reqId +
+ ", snapshot=" + opCtx0.snpName +
+ ", consistentId=" + locNode.consistentId() +
Review Comment:
It is assumed initially, that we print corresponding remote node
`consistentId` here.
I suggest this format for per-node message (for single remote node):
`
reqId, nodeId, consistentId, map=[[cacheId=id1, cacheName=cache1,
parts=[m1,..,n1]], [cacheId=id2, cacheName=cache2, parts=[m2,..,n2]]
`
--
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]