Skip to content

Changed JDBC string splitting delimiter#1233

Merged
busbey merged 5 commits into
brianfrankcooper:masterfrom
seybi87:master
Sep 8, 2019
Merged

Changed JDBC string splitting delimiter#1233
busbey merged 5 commits into
brianfrankcooper:masterfrom
seybi87:master

Conversation

@seybi87

@seybi87 seybi87 commented Sep 13, 2018

Copy link
Copy Markdown
Contributor

As discussed issue #1184 , currently the JDBC connections Strings are split by ,

This hinders the usage of the JDBC auto-failover features as connection String in the form jdbc:postgresql://host1:port1,host2:port2/database are not possible.

By simply changing the splitting delimiter to ; auto-failover Strings can be used as well as the existing multiple shards connections jdbc:postgresql://host1:port1/database;jdbc:postgresql://host2:port2/database

Updated the readme accordingly

Tested with PostgresSQL driver 42.2.5 and CockroachDB 2.0.1

Comment thread jdbc/README.md Outdated
Comment thread jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants