michaelsembwever commented on code in PR #4872:
URL: https://github.com/apache/cassandra/pull/4872#discussion_r3372461948


##########
src/java/org/apache/cassandra/db/CounterMutationVerbHandler.java:
##########
@@ -36,6 +40,12 @@ public class CounterMutationVerbHandler extends 
AbstractMutationVerbHandler<Coun
     protected void applyMutation(final Message<CounterMutation> message, 
InetAddressAndPort respondToAddress)
     {
         final CounterMutation cm = message.payload;
+        if (Span.current().getSpanContext().isValid())
+        {
+            String target = cm.getPartitionUpdates().stream()
+                              .map((pu) -> 
pu.metadata().toString()).collect(Collectors.joining(" "));

Review Comment:
   performance ? (on all usages of .stream())



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