Skip to content

Commit

Permalink
Allow sub-range repairs (specifying -et -st) for a preview of repaire…
Browse files Browse the repository at this point in the history
…d data

Patch by Matt Byrd; reviewed by marcuse for CASSANDRA-13570
  • Loading branch information
Jollyplum authored and krummas committed Jun 12, 2017
1 parent ff29d60 commit 3e8f3c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
4.0
* Allow sub-range repairs for a preview of repaired data (CASSANDRA-13570)
* NPE in IR cleanup when columnfamily has no sstables (CASSANDRA-13585)
* Fix Randomness of stress values (CASSANDRA-12744)
* Allow selecting Map values and Set elements (CASSANDRA-7396)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ else if (ranges.isEmpty())
}
}

if (option.isIncremental() && !option.isGlobal())
if (option.isIncremental() && !option.isPreview() && !option.isGlobal())
{
throw new IllegalArgumentException("Incremental repairs cannot be run against a subset of tokens or ranges");
}
Expand Down

0 comments on commit 3e8f3c5

Please sign in to comment.