mirror of https://github.com/apache/cassandra
Fix stress
This commit is contained in:
parent
f5b3515eec
commit
0d0acac6c5
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -62,7 +62,9 @@ public class JavaDriverClient
|
|||
public void connect(ProtocolOptions.Compression compression) throws Exception
|
||||
{
|
||||
Cluster.Builder clusterBuilder = Cluster.builder()
|
||||
.addContactPoint(host).withPort(port);
|
||||
.addContactPoint(host)
|
||||
.withPort(port)
|
||||
.withoutMetrics(); // The driver uses metrics 3 with conflict with our version
|
||||
clusterBuilder.withCompression(compression);
|
||||
if (encryptionOptions.enabled)
|
||||
{
|
||||
|
|
@ -142,7 +144,6 @@ public class JavaDriverClient
|
|||
|
||||
public void disconnect()
|
||||
{
|
||||
FBUtilities.waitOnFuture(cluster.shutdown());
|
||||
cluster.close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue