ATTENTION: we are currently upgrading gitlabs storage backend for repositories. This may cause unavailability and in unlikely cases also data loss. Therefore, we recommend to keep local copies of all repos. Issues, Milestones, and other features of gitlab are not affected.

Commit 8e3afa83 authored by Daniel Seybold's avatar Daniel Seybold

removed auto load balance hosts

parent 1c8fa4b2
Pipeline #59068 passed with stage
in 12 minutes and 48 seconds
......@@ -151,7 +151,10 @@ public class YCSBCommandBuilder {
cockroachEndpoint.add(endpoint.getIpAddress()+":26257");
}
cockroachDBConnection.add( "jdbc:postgresql://" + cockroachEndpoint.toString()+"/"+databaseConfig.getTableName()+"?sslmode=disable&loadBalanceHosts=true");
// removed loadbalanceHosts for testing failover meachnisms
//cockroachDBConnection.add( "jdbc:postgresql://" + cockroachEndpoint.toString()+"/"+databaseConfig.getTableName()+"?sslmode=disable&loadBalanceHosts=true");
cockroachDBConnection.add( "jdbc:postgresql://" + cockroachEndpoint.toString()+"/"+databaseConfig.getTableName()+"?sslmode=disable");
}
databaseCommand += " -p " + databaseConfig.getEndpointParameterName() + "=\"" + cockroachDBConnection.toString() + "\"";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment