cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9875) Rebuild from targeted replica
Date Fri, 19 Aug 2016 00:42:20 GMT


Paulo Motta commented on CASSANDRA-9875:

Sorry for the delay here. Implementation looks mostly good, but I find the UI a bit counter-intuitive,
since if you want to rebuild multiple ranges from a single or small set of sources (a typical
use case IMO), you'd need to repeat a source multiple times (one for each specified range).
Unless you have a use case in mind for this, I think a more intuitive interface would be a
host whitelist (similar to repair {{--hosts}}), and this would also make implementation a
bit simpler, since you could simply add a source filter to RangeStreamer (avoiding the need
for {{addRangesWithSources}}). This would still allow you to specify a direct range-source
mapping by running multiple rebuild commands. WDYT?

Also, could you add a simple dtest?

> Rebuild from targeted replica
> -----------------------------
>                 Key: CASSANDRA-9875
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: sankalp kohli
>            Assignee: Geoffrey Yu
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.x
>         Attachments: 9875-trunk.txt
> Nodetool rebuild command will rebuild all the token ranges handled by the endpoint. Sometimes
we want to rebuild only a certain token range. We should add this ability to rebuild command.
We should also add the ability to stream from a given replica.

This message was sent by Atlassian JIRA

View raw message