Allow snapshot-based repair on Windows for 3.0

Patch by jmckenzie; reviewed by yukim for CASSANDRA-8309
This commit is contained in:
Joshua McKenzie 2014-11-14 10:52:28 -06:00
parent b4d7f3bed0
commit 58fdc6b5c0
1 changed files with 1 additions and 9 deletions

View File

@ -211,15 +211,7 @@ public class RepairOption
public RepairOption(boolean sequential, boolean primaryRange, boolean incremental, int jobThreads, Collection<Range<Token>> ranges)
{
if (!FBUtilities.isUnix() && sequential)
{
logger.warn("Snapshot-based repair is not yet supported on Windows. Reverting to parallel repair.");
this.sequential = false;
}
else
{
this.sequential = sequential;
}
this.sequential = sequential;
this.primaryRange = primaryRange;
this.incremental = incremental;
this.jobThreads = jobThreads;