ibessonov commented on code in PR #2814:
URL: https://github.com/apache/ignite-3/pull/2814#discussion_r1386199910
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/impl/IgniteRpcServer.java:
##########
@@ -197,6 +191,26 @@ else if (prc.executor() != null) {
LOG.warn("A request execution was rejected [sender={} req={}
reason={}]", sender, S.toString(message), e.getMessage());
}
}
+
+ private @Nullable RpcProcessor<NetworkMessage> getProcessor(Class<?>
cls) {
+ RpcProcessor<NetworkMessage> prc = processors.get(cls.getName());
+
+ if (prc != null) {
+ processors.putIfAbsent(cls.getName(), prc);
Review Comment:
Good catch, I messed up
--
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]