timoninmaxim commented on code in PR #12433:
URL: https://github.com/apache/ignite/pull/12433#discussion_r2454271760
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java:
##########
@@ -855,7 +855,9 @@ private void processFailedMessage(UUID nodeId,
req.version(),
req.deployInfo() != null);
- res.error(req.classError());
+ // Minor optimization.
+ if (req.classError() != null)
+ res.error(req.classError());
Review Comment:
looks like we can move this check inside .error() method. If err == null
then do not construct ErrorMessage
--
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]