[ 
https://issues.apache.org/jira/browse/CASSANDRA-13257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885005#comment-15885005
 ] 

Yuki Morishita commented on CASSANDRA-13257:
--------------------------------------------

Is it possible to add "dry-run" feature to stremaing instead of TreeDifference? 
That way, we can use the feature to preview other streaming operations.
For example:

{code}
StreamPlan newPlan = new StreamPlan(dryRun=true);
newPlan.addTransferRanges(range);
StreamResultFuture future = newPlan.execute();

// if dryRun, only run streaming until PREPARE phase so that exactly send and 
*receive* size are known, and return calculated StreamState based on those.
StreamState dryRunResult = future.get();
{code}

Or, when streaming is only for out going (like decommission) we may be able to 
return without exchanging messages.

WDYT?

> Add repair streaming preview
> ----------------------------
>
>                 Key: CASSANDRA-13257
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13257
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>
> It would be useful to be able to estimate the amount of repair streaming that 
> needs to be done, without actually doing any streaming. Our main motivation 
> for this having something this is validating CASSANDRA-9143 in production, 
> but I’d imagine it could also be a useful tool in troubleshooting.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to