This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 920e7c9401 Validate the server handshake response in the WebSocket
client (#1114)
new db9509cf16 Track slow query statistics by pool name only
new 54aacb43f0 Make generic naming setter selection deterministic
new fba7ade26e Do not log configured property values at TRACE
new 86a5bbf670 Trim redundant ClassLoaderUtil comments
new 794ab44222 Release a connection when its creation fails with an Error
new 646b22628b Correct negative idle counts at pool creation
new ad42963440 Fix quote escaping in the cleaner rearm message
new 4d7a565296 Clarify ConnectionPool queue and parameter docs
new 9cd4a8e505 Run the connection MBean sweep outside the DataSource
monitor
new 36d186f9f7 Treat a blank connectionProperties as unset
new 15458d00b8 Clarify DataSourceFactory contracts and drop redundant docs
new 9f301dd5b7 Mask inline credentials on the DataSource bean surface
new 3f9d1efdbc Reject setJmxEnabled after the pool is created
new bb92d47ac5 Correct PoolConfiguration name and minIdle contracts
new e7f261e2e8 Do not print the live dataSource object in the
configuration dump
new b3682b7bd2 Return a copy of the configured interceptor array
new 3f03e36d1f Restore the served session when a credential reconnect
fails with an Error
new 3aa199bb07 Close XA and CPDS handles when the logical connection fails
with an Error
new 293f5e4ac6 Treat a non-fatal Error as a failed transaction termination
new b1f759f8d2 Stop resetTimer stamps as soon as an abort starts
new 93634e4d40 Use the base class key for anonymous timer MBeans
new 3a20955a07 Do not book queries into a released statistics store
new c43c473212 Make the lost-store warning atomic
new 9aa2a07716 Document QueryStats sentinels and protect the composite
schema
new 0ca730c876 Report a malformed JMX name once per pool
new 2715d5345b Answer no JMX state once a statistics store is released
new be0c7e8fae Withdraw a statement parked while the cache purge runs
new e942fdc060 Keep purging cached statements after one close fails with
an Error
new d01ba2b39b Do not pin abandoned pools from the statement cache registry
new 53e40394f2 Create the cache counter for a late StatementCache
definition
new d2aa9866df Retire a statement whose recycle reset fails with an Error
new 9d7bbadcbf Sanitize SQL newlines in StatementCache log messages
new 5bb8ad5fdb Keep draining tracked statements after one close fails with
an Error
new 02d0636d36 Keep a statement whose borrow-time retry close fails
new d25802a3b5 Warn about credential write-back on the pool MBean
new bc1a5767c1 Qualify the checkIdle minIdle floor contract
new 4b61a5c55a Retry refused JMX unregistrations on later calls
new f6d264c15f Merge branch '11.0.x' of [email protected]:apache/tomcat.git
into 11.0.x
new a0b0f56e38 Drop this as it can lead to issues (reflection and so on)
The 39 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]