You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "sergey-chugunov-1985 (via GitHub)" <gi...@apache.org> on 2026/04/01 08:37:56 UTC

Re: [PR] IGNITE-27968 Use message serializer for ExchangeFailureMessage [ignite]

sergey-chugunov-1985 commented on code in PR #12963:
URL: https://github.com/apache/ignite/pull/12963#discussion_r3020622321


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ExchangeFailureMessage.java:
##########
@@ -123,7 +139,7 @@ public void exchangeRollbackActions(ExchangeActions exchangeRollbackActions) {
     public IgniteCheckedException createFailureCompoundException() {
         IgniteCheckedException ex = new IgniteCheckedException("Failed to complete exchange process.");
 
-        for (Map.Entry<UUID, Throwable> entry : exchangeErrors.entrySet())
+        for (Map.Entry<UUID, Throwable> entry : exchangeErrors().entrySet())

Review Comment:
   As far as I can see you don't need a map entry inside the loop, so iterating over values instead of entries would be enough.



-- 
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-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org