Ahmet DAL
11007e57eb
Make the idleTimeout test case more readable
7 years ago
Ahmet DAL
f5dcee6c0c
Make idleTimeout reliable
...
IdleTimeout doesn't work as expected when there is no connection needs to be removed. This toRemoved logic is preventing the idle connections have been there for more than idleTimeout to be refreshed. This unreliability becomes a problem when there is also a idleSessionTimeout on the server side. The server is dropping the idle connections whereas hikari is not. Thus the application picks a connection from the pool which is actually dropped by the server. The idle connection should be evicted, closed and replaced with the newly created one by housekeeping. To avoid this problem, this buggy toRemoved logic is removed.
7 years ago
Brett Wooldridge
cd03cc8912
Update README.md
7 years ago
Brett Wooldridge
8d3f2b9cf0
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
132683a08f
[maven-release-plugin] prepare release HikariCP-3.0.0
7 years ago
Brett Wooldridge
869b114ac6
JavaDoc fixes.
7 years ago
Brett Wooldridge
b11eb4084c
Merge commit '5e84eeebbf61739314b76e61c7f10b9af7c51759' into dev
...
* commit '5e84eeebbf61739314b76e61c7f10b9af7c51759':
Extract Micrometer metric name to public constant and document usage
Remove hard-coded percentiles from MicrometerMetricsTracker
7 years ago
Brett Wooldridge
a11d6a6b39
Prepare for release.
7 years ago
Brett Wooldridge
36ffcafe83
Fixes #1116 Only set readOnly/autoCommit during connection setup if they differ from defaults.
7 years ago
Brett Wooldridge
25f8ab1c1e
New MBean test.
7 years ago
Brett Wooldridge
00cd48a7c8
Fixes #1117 Add (currently undocumented) system property to block pool startup until minimumIdle connections exist in the pool.
7 years ago
Manabu Matsuzaki
3b4322eae6
add test case for new metrics ( #1115 )
7 years ago
Manabu Matsuzaki
3313174891
Add pool metrics ( #1110 )
7 years ago
Manabu Matsuzaki
4852678a7b
`mockMeterRegistry#find(String)` doesn't seem to return null ( #1113 )
7 years ago
Tommy Ludwig
3a739210ce
Maintain strong reference to PoolStats for Micrometer gauges ( #1108 )
...
Micrometer's gauges were breaking after the `PoolStats` object they weakly referenced was garbage collected. This change holds a strong reference to the `PoolStats` object in `MicrometerMetricsTracker` to avoid this issue.
See http://micrometer.io/docs/concepts#_why_is_my_gauge_reporting_nan_or_disappearing
7 years ago
Brett Wooldridge
6ead232623
Update ISSUE_TEMPLATE.md
7 years ago
Brett Wooldridge
a265e0ce16
Update CHANGES
7 years ago
Tommy Ludwig
5e84eeebbf
Extract Micrometer metric name to public constant and document usage
...
Hard-coded percentiles were removed in a previous commit. This documents how a user can configure such things in their code and makes it easier to do by providing a public constant for the prefix used by all metric names.
7 years ago
Tommy Ludwig
cc36894164
Remove hard-coded percentiles from MicrometerMetricsTracker
...
Rather than hard-coding a client-side calculated percentile in HikariCP's code, it is best to leave these configuration decisions to HikariCP users in their code. Users can configure percentiles and whether to record a histogram for HikariCP metrics via a `MeterFilter`.
Resolves micrometer-metrics/micrometer#91
7 years ago
Pascal Schumacher
9cf765911c
Update Micrometer to 1.0.0 ( #1098 )
7 years ago
Brett Wooldridge
1702f06d21
Update README.md
7 years ago
Brett Wooldridge
c259dd229c
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
509a59f680
[maven-release-plugin] prepare release HikariCP-2.7.8
7 years ago
Brett Wooldridge
b4f25170b3
Setup for a v2.7.8 release.
7 years ago
Brett Wooldridge
7bff6723c1
Fixes #1095 fix breakage caused by sealed configuration with respect to special handling
...
for the metricsRegistry and metricsTrackerFactory properties, which are allowed to be
altered *once* after the pool has started.
7 years ago
NersesAM
91bd7dfb33
Allowing anonymous subclasses of MetricRegistry. Also changing checks for metrics libraries from classname contains to assignableFrom the metrics class ( #1089 )
7 years ago
Mark Rotteveel
3eb0bc72b8
Update Firebird datasource ( #1088 )
...
org.firebirdsql.pool.FBSimpleDataSource was deprecated in Jaybird 2.2 and will be removed in Jaybird 4. Replacement class is org.firebirdsql.ds.FBSimpleDataSource
7 years ago
Brett Wooldridge
d50802f636
Update README.md
7 years ago
Brett Wooldridge
90ffb5123b
Update CHANGES
7 years ago
Brett Wooldridge
d9a600dd96
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
594ca8be7c
[maven-release-plugin] prepare release HikariCP-2.7.7
7 years ago
Brett Wooldridge
90f1887b4d
Fix bug in sealed configuration.
7 years ago
Brett Wooldridge
64d91e8ea3
Fixes #1060 (Really) support experimental throw-if-suspended functionality.
7 years ago
Brett Wooldridge
bef929cc97
Fixes #1060 Support experimental throw-if-suspended functionality.
7 years ago
Brett Wooldridge
1f73e9a005
Fixes #1060 Support experimental throw-if-suspended functionality.
7 years ago
Brett Wooldridge
7302390bf7
Update README.md
7 years ago
Brett Wooldridge
fd88b569a8
Update CHANGES
7 years ago
Brett Wooldridge
4a5d238578
Update README.md
7 years ago
Brett Wooldridge
aeb533b888
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
314e0e6428
[maven-release-plugin] prepare release HikariCP-2.7.6
7 years ago
Brett Wooldridge
bdfeee96e0
Fixes #1064 do not propagate "sealed" status to the target of copyStateTo(HikariConfig other).
7 years ago
Brett Wooldridge
67c589ce28
Update README.md
7 years ago
Brett Wooldridge
bf904b1481
Update README.md
7 years ago
Brett Wooldridge
3346c2399f
Update README.md
7 years ago
Brett Wooldridge
dfacdf43ce
Update CHANGES
7 years ago
Brett Wooldridge
8f3bee6fc4
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
3078ea6d61
[maven-release-plugin] prepare release HikariCP-2.7.5
7 years ago
Stanislav Savulchik
18379538fb
Enable quantiles calculation in prometheus metrics ( #1058 )
7 years ago
Brett Wooldridge
5ba71e0e83
Minor cleanup.
7 years ago
Brett Wooldridge
d7a9fd0339
Update changes log.
7 years ago