Skip to content

Commit

Permalink
improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Apr 25, 2022
1 parent 655f595 commit 29d169e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ public synchronized void open() {

assert this.cluster == null || this.cluster.isClosed();
/*
* Here is incompatible, java11 glassfish
* metrics use version 4,but cassandra metrics
* use version 3.
* We disable cassandra metrics through withoutMetrics(), due to
* metrics versions are incompatible, java11 glassfish use metrics 4,
* but cassandra use metrics 3.
* TODO: fix it after after cassandra upgrade metrics version
*/
Builder builder = Cluster.builder()
.addContactPoints(hosts.split(","))
Expand Down

0 comments on commit 29d169e

Please sign in to comment.