[ 
https://issues.apache.org/jira/browse/CASSANDRA-16274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-16274:
----------------------------------------
    Status: Patch Available  (was: In Progress)

pushed 2 commits to the branch above - one removes the duplicated 
{{AsymmetricSyncRequest}} class in favour of a flag on {{SyncRequest}}, and the 
second commit fixes the review comments

bq. shouldn't that same test verify that ReduceHelper::pickConsistent makes the 
selections deterministic?
in the test we have:
{code}
        addr3 will stream range1 from addr1 or addr2
                          range2 from addr1
{code}
so in a perfect setting we would stream range1 and range2 from addr1 - but if 
addr2 sorts before addr1 we will stream range1 from addr2 - I added a todo on 
the method that this can be improved

> Improve performance when calculating StreamTasks with optimised streaming
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16274
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16274
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Repair
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-beta4
>
>
> The way stream tasks are calculated currently is quite inefficient, improve 
> that.
> Also, we currently try to distribute the streaming nodes evenly, this creates 
> many more sstables than necessary - instead we should try to stream 
> everything from a single peer, this should reduce the number of sstables 
> created on the out-of-sync node.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to