maedhroz commented on code in PR #4565:
URL: https://github.com/apache/cassandra/pull/4565#discussion_r2784613610


##########
src/java/org/apache/cassandra/repair/messages/SyncResponse.java:
##########
@@ -45,20 +50,29 @@ public class SyncResponse extends RepairMessage
 
     public final List<SessionSummary> summaries;
 
-    public SyncResponse(RepairJobDesc desc, SyncNodePair nodes, boolean 
success, List<SessionSummary> summaries)
+    @Nullable
+    public final TimeUUID planId;
+    @Nullable
+    public final ShortMutationId transferId;
+
+    public SyncResponse(RepairJobDesc desc, SyncNodePair nodes, boolean 
success, List<SessionSummary> summaries, TimeUUID planId, ShortMutationId 
transferId)
     {
         super(desc);
         this.nodes = nodes;
         this.success = success;
         this.summaries = summaries;
+        this.planId = planId;
+        this.transferId = transferId;

Review Comment:
   Ah, I think it's because we key local pending transfers on plan ID.



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