mirror of https://github.com/apache/cassandra
Allow snapshot-based repair on Windows for 3.0
Patch by jmckenzie; reviewed by yukim for CASSANDRA-8309
This commit is contained in:
parent
b4d7f3bed0
commit
58fdc6b5c0
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue