mirror of https://github.com/apache/cassandra
merge #7063 from 1.2
This commit is contained in:
parent
58bb974a33
commit
2800c7fdb8
|
|
@ -345,8 +345,8 @@ public class RepairSession extends WrappedRunnable implements IEndpointStateChan
|
|||
if (!endpoints.contains(endpoint))
|
||||
return;
|
||||
|
||||
// We want a higher confidence in the failure detection than usual because failing a repair wrongly has a high cost.
|
||||
if (phi < 2 * DatabaseDescriptor.getPhiConvictThreshold())
|
||||
// We want a higher confidence in the failure detection than usual because failing a repair wrongly has a high cost (CASSANDRA-7063)
|
||||
if (phi < 100 * DatabaseDescriptor.getPhiConvictThreshold())
|
||||
return;
|
||||
|
||||
// Though unlikely, it is possible to arrive here multiple time and we
|
||||
|
|
|
|||
|
|
@ -616,8 +616,8 @@ public class StreamSession implements IEndpointStateChangeSubscriber, IFailureDe
|
|||
if (!endpoint.equals(peer))
|
||||
return;
|
||||
|
||||
// We want a higher confidence in the failure detection than usual because failing a streaming wrongly has a high cost.
|
||||
if (phi < 2 * DatabaseDescriptor.getPhiConvictThreshold())
|
||||
// We want a higher confidence in the failure detection than usual because failing a streaming wrongly has a high cost (CASSANDRA-7063)
|
||||
if (phi < 100 * DatabaseDescriptor.getPhiConvictThreshold())
|
||||
return;
|
||||
|
||||
closeSession(State.FAILED);
|
||||
|
|
|
|||
Loading…
Reference in New Issue