This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from a7cd577879 Validate the server handshake response in the WebSocket
client (#1114)
new 46b18ba797 Track slow query statistics by pool name only
new bcc069815d Make generic naming setter selection deterministic
new 9c31d5b642 Do not log configured property values at TRACE
new 015a89c303 Trim redundant ClassLoaderUtil comments
new 81f2f3045e Release a connection when its creation fails with an Error
new fd1d75aea2 Correct negative idle counts at pool creation
new 22fd12a278 Fix quote escaping in the cleaner rearm message
new acd83863de Clarify ConnectionPool queue and parameter docs
new a1c7298b00 Run the connection MBean sweep outside the DataSource
monitor
new 331a9e76c5 Treat a blank connectionProperties as unset
new fa15544569 Clarify DataSourceFactory contracts and drop redundant docs
new e41cb3102d Mask inline credentials on the DataSource bean surface
new 3febcc01e0 Reject setJmxEnabled after the pool is created
new 01ecbaa968 Correct PoolConfiguration name and minIdle contracts
new adb157e5a4 Do not print the live dataSource object in the
configuration dump
new c986a4d9cb Return a copy of the configured interceptor array
new 54a6789521 Restore the served session when a credential reconnect
fails with an Error
new 9058afbba9 Close XA and CPDS handles when the logical connection fails
with an Error
new c81b1a134a Treat a non-fatal Error as a failed transaction termination
new f338d22824 Stop resetTimer stamps as soon as an abort starts
new bef88f0cea Use the base class key for anonymous timer MBeans
new 93ef7b6a08 Do not book queries into a released statistics store
new 41ae8f7084 Make the lost-store warning atomic
new 805e3d603d Document QueryStats sentinels and protect the composite
schema
new 2723c1bef0 Report a malformed JMX name once per pool
new 2c21a758a4 Answer no JMX state once a statistics store is released
new d59ee94ac7 Withdraw a statement parked while the cache purge runs
new ebf5aa904e Keep purging cached statements after one close fails with
an Error
new 1e542eb048 Do not pin abandoned pools from the statement cache registry
new 2833045493 Create the cache counter for a late StatementCache
definition
new 4b14866f10 Retire a statement whose recycle reset fails with an Error
new 6f673c7458 Sanitize SQL newlines in StatementCache log messages
new ff8f84ac44 Keep draining tracked statements after one close fails with
an Error
new 2efc5bf56b Keep a statement whose borrow-time retry close fails
new 1ca96036a5 Warn about credential write-back on the pool MBean
new c57c88520a Qualify the checkIdle minIdle floor contract
new 51fcc5d6af Retry refused JMX unregistrations on later calls
new 71a23b0d48 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]