mirror of https://github.com/apache/cassandra
(Windows) force range-based repair to non-sequential mode
patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7541
This commit is contained in:
parent
a4544615df
commit
1630ebf6af
|
|
@ -1,4 +1,5 @@
|
|||
2.0.10
|
||||
* (Windows) force range-based repair to non-sequential mode (CASSANDRA-7541)
|
||||
* Fix range merging when DES scores are zero (CASSANDRA-7535)
|
||||
* Warn when SSL certificates have expired (CASSANDRA-7528)
|
||||
* Workaround JVM NPE on JMX bind failure (CASSANDRA-7254)
|
||||
|
|
|
|||
|
|
@ -2544,6 +2544,12 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
|
||||
logger.info("starting user-requested repair of range {} for keyspace {} and column families {}",
|
||||
repairingRange, keyspaceName, columnFamilies);
|
||||
|
||||
if (!FBUtilities.isUnix() && isSequential)
|
||||
{
|
||||
logger.warn("Snapshot-based repair is not yet supported on Windows. Reverting to parallel repair.");
|
||||
isSequential = false;
|
||||
}
|
||||
return forceRepairAsync(keyspaceName, isSequential, dataCenters, hosts, repairingRange, columnFamilies);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue