dcapwell commented on code in PR #2066:
URL: https://github.com/apache/cassandra/pull/2066#discussion_r1063822835
##########
src/java/org/apache/cassandra/streaming/StreamSession.java:
##########
@@ -1187,10 +1189,10 @@ public synchronized void prepareReceiving(StreamSummary
summary)
receivers.put(summary.tableId, new StreamReceiveTask(this,
summary.tableId, summary.files, summary.totalSize));
}
- private void startStreamingFiles(boolean notifyPrepared)
+ private void startStreamingFiles(@Nullable PrepareType prepareType)
{
- if (notifyPrepared)
- streamResult.handleSessionPrepared(this);
+ if (prepareType != null)
Review Comment:
not sure why this was here before... it was `(true)` at every call-site.
--
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]