dcapwell commented on code in PR #2339:
URL: https://github.com/apache/cassandra/pull/2339#discussion_r1203171543


##########
src/java/org/apache/cassandra/service/accord/AccordVerbHandler.java:
##########
@@ -43,6 +43,19 @@ public AccordVerbHandler(Node node)
     public void doVerb(Message<T> message) throws IOException
     {
         logger.debug("Receiving {} from {}", message.payload, message.from());
-        message.payload.process(node, EndpointMapping.getId(message.from()), 
message);
+        T request = message.payload;
+        Node.Id from = EndpointMapping.getId(message.from());

Review Comment:
   `from` is needed on line 59 as well, so if the outer if is false, then we do 
`request.process(node, from, message);`



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to