Vladsz83 commented on code in PR #12878:
URL: https://github.com/apache/ignite/pull/12878#discussion_r2923084875


##########
modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java:
##########
@@ -449,7 +449,7 @@ public void resetMetrics() {
 
         List<MessageFactoryProvider> compMsgs = new ArrayList<>();
 
-        compMsgs.add(new GridIoMessageFactory());
+        compMsgs.add(new GridIoMessageFactory(marsh, 
U.resolveClassLoader(ctx.config())));

Review Comment:
   Btw. Why we pass configurable class loader for static messages. What if one 
node starts with other class loader? May be we should pass not-configurable 
class loader. for messages.
   
   Or, check `GridJobExecuteRequest#finishUnmarshall`. Currently, is is invoked 
with:
   
   `req.finishUnmarshal(marsh, 
U.resolveClassLoader(GridDeployment#classLoader(), ctx.config()))`



-- 
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]

Reply via email to