This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from bdd6ba7105 Fix backport
new 6a9f5474cb Track slow query statistics by pool name only
new 4d8fcc187f Make generic naming setter selection deterministic
new 1b59633a2c Do not log configured property values at TRACE
new aa4ce8dc02 Trim redundant ClassLoaderUtil comments
new 83896a8b48 Release a connection when its creation fails with an Error
new a6c43d6394 Correct negative idle counts at pool creation
new bb3497e487 Fix quote escaping in the cleaner rearm message
new 88f694c884 Clarify ConnectionPool queue and parameter docs
new a5ed174f52 Run the connection MBean sweep outside the DataSource
monitor
new 4dbee06684 Treat a blank connectionProperties as unset
new 25e7c3688a Clarify DataSourceFactory contracts and drop redundant docs
new f10512972f Mask inline credentials on the DataSource bean surface
new 66f62fe830 Reject setJmxEnabled after the pool is created
new 1c98a4d032 Correct PoolConfiguration name and minIdle contracts
new c263d5ce31 Do not print the live dataSource object in the
configuration dump
new 7e6700da10 Return a copy of the configured interceptor array
new eab8bf0c97 Restore the served session when a credential reconnect
fails with an Error
new 61b03946db Close XA and CPDS handles when the logical connection fails
with an Error
new 67883282e1 Treat a non-fatal Error as a failed transaction termination
new 02b2f79d55 Stop resetTimer stamps as soon as an abort starts
new 8e5e9196c5 Use the base class key for anonymous timer MBeans
new 728f86f60e Do not book queries into a released statistics store
new 60452cb3b7 Make the lost-store warning atomic
new 1fe87fa2f7 Document QueryStats sentinels and protect the composite
schema
new 7dc85d5a85 Report a malformed JMX name once per pool
new 88b7030ae1 Answer no JMX state once a statistics store is released
new aa5a044d14 Withdraw a statement parked while the cache purge runs
new 2eb87ff701 Keep purging cached statements after one close fails with
an Error
new d1a8d3d57b Do not pin abandoned pools from the statement cache registry
new 00cc64adbf Create the cache counter for a late StatementCache
definition
new 57dde909a7 Retire a statement whose recycle reset fails with an Error
new 17fed49bf9 Sanitize SQL newlines in StatementCache log messages
new 6a3fae59af Keep draining tracked statements after one close fails with
an Error
new be2a75ce9d Keep a statement whose borrow-time retry close fails
new b2879e07bf Warn about credential write-back on the pool MBean
new 83f387e867 Qualify the checkIdle minIdle floor contract
new ccd472f6ff Retry refused JMX unregistrations on later calls
new a810b0e451 Drop this as it can lead to issues (reflection and so on)
The 38 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../jdbc/naming/GenericNamingResourcesFactory.java | 276 ++++++++++----------
.../apache/tomcat/jdbc/pool/ClassLoaderUtil.java | 49 +---
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 49 +++-
.../org/apache/tomcat/jdbc/pool/DataSource.java | 98 ++++---
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 165 ++----------
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 44 +++-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 24 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 34 ++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 185 ++++++++-----
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 18 +-
.../jdbc/pool/interceptor/SlowQueryReport.java | 286 ++++++++-------------
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 53 ++--
.../pool/interceptor/SlowQueryReportJmxMBean.java | 27 +-
.../jdbc/pool/interceptor/StatementCache.java | 145 +++++++++--
.../jdbc/pool/interceptor/StatementFinalizer.java | 34 ++-
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 33 ++-
.../tomcat/jdbc/pool/jmx/ConnectionPoolMBean.java | 9 +-
.../org/apache/tomcat/jdbc/pool/jmx/JmxUtil.java | 61 ++++-
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 14 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 8 +-
.../TestDataSourceFactoryNoOpPropertyWarnings.java | 18 ++
.../tomcat/jdbc/naming/TestNamingFactory.java | 93 +++++++
.../tomcat/jdbc/pool/TestAbortEndsTheBorrow.java | 46 ++++
.../pool/TestConnectionPoolDataSourceLeak.java | 31 ++-
.../tomcat/jdbc/pool/TestPoolProperties.java | 98 +++----
.../jdbc/pool/TestPoolSizeSetterValidation.java | 16 ++
.../jdbc/pool/TestThrowingBuiltInValidation.java | 15 +-
.../pool/TestThrowingDriverOnClaimedPaths.java | 154 +++++++++++
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 33 ++-
.../pool/interceptor/TestInterceptorLifecycle.java | 65 +++++
.../TestResetAbandonedTimerMBeanIdle.java | 34 +++
.../pool/interceptor/TestSlowQueryEviction.java | 18 ++
.../TestSlowQueryJmxChainCloseRelease.java | 31 ++-
.../interceptor/TestSlowQueryJmxNotifications.java | 223 ++++++++++------
.../TestSlowQueryJmxSlowQueriesCDRace.java | 10 +-
.../TestSlowQueryReportDeadSessionWarning.java | 41 +++
...ames.java => TestSlowQueryReportPoolNames.java} | 92 +++----
...estSlowQueryReportSlowLogAfterChainRelease.java | 25 ++
.../TestStatementCacheAbandonedPool.java | 71 +++++
.../TestStatementCacheJmxCacheSize.java | 31 +++
.../TestStatementCachePurgeCloseFailure.java | 189 ++++++++++++++
.../interceptor/TestStatementCacheRacingPark.java | 81 ++++++
.../TestStatementCacheRecycleFailure.java | 60 +++++
.../pool/interceptor/TestStatementFinalizer.java | 84 +++++-
.../jmx/TestDataSourceRegistrationVsClose.java | 77 +++++-
.../jdbc/pool/jmx/TestJmxCredentialAttributes.java | 33 +++
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 72 ++++++
res/checkstyle/test-checkstyle.xml | 1 -
webapps/docs/changelog.xml | 14 +
49 files changed, 2422 insertions(+), 946 deletions(-)
rename
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/{TestSlowQueryReportDuplicatePoolNames.java
=> TestSlowQueryReportPoolNames.java} (53%)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheAbandonedPool.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCachePurgeCloseFailure.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]