mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.0' into cassandra-4.1
This commit is contained in:
commit
5f63b0ade1
|
|
@ -1,5 +1,6 @@
|
|||
4.1.5
|
||||
Merged from 4.0:
|
||||
* Remove redundant code in StorageProxy#sendToHintedReplicas (CASSANDRA-19412)
|
||||
* Remove bashisms for mx4j tool in cassandra-env.sh (CASSANDRA-19416)
|
||||
Merged from 3.11:
|
||||
Merged from 3.0:
|
||||
|
|
|
|||
|
|
@ -1472,8 +1472,6 @@ public class StorageProxy implements StorageProxyMBean
|
|||
Replica localReplica = null;
|
||||
Collection<Replica> endpointsToHint = null;
|
||||
|
||||
List<InetAddressAndPort> backPressureHosts = null;
|
||||
|
||||
for (Replica destination : plan.contacts())
|
||||
{
|
||||
checkHintOverload(destination);
|
||||
|
|
@ -1513,11 +1511,6 @@ public class StorageProxy implements StorageProxyMBean
|
|||
|
||||
messages.add(destination);
|
||||
}
|
||||
|
||||
if (backPressureHosts == null)
|
||||
backPressureHosts = new ArrayList<>(plan.contacts().size());
|
||||
|
||||
backPressureHosts.add(destination.endpoint());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue