Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit 0e79cb4

Browse files
Update poolSize initial value to -1 (#6733)
* update poolSize initial value to -1 * Add generated changelog entries --------- Co-authored-by: svc-changelog <svc-changelog@palantir.com>
1 parent 0e5f3fb commit 0e79cb4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/pool/CassandraClientPoolMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class CassandraClientPoolMetrics {
4343
// Not bundled in with request metrics, as we seek to not produce host-level metrics for economic reasons.
4444
private final Counter poolExhaustionCounter;
4545

46-
private final AtomicLong poolSize = new AtomicLong(0L);
46+
private final AtomicLong poolSize = new AtomicLong(-1L);
4747

4848
public CassandraClientPoolMetrics(MetricsManager metricsManager) {
4949
this.metricsManager = metricsManager;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
type: improvement
2+
improvement:
3+
description: initialize pool size metric with value -1
4+
links:
5+
- https://github.com/palantir/atlasdb/pull/6733

0 commit comments

Comments
 (0)