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 86f36b37fb Replace runtime certificate generation with pre-generated
fixtures
new c71ae9bebd Reset cached statement large row limit
new b206411e82 Honour the deadline of a timed async connection get
new b1603e0008 Release a late slow-query store on pool close
new d2bdca785c Keep the JMX notifier on the pool class loader
new 0eeaae74d3 Keep statement cache purge making progress
new 6e69b89c4f Reject start-only data source property writes after start
new 7a48719f62 Keep the closed pool weakly reachable from a retained
statement
new 947802059e Use the configured driver when a pooled connection
reconnects
new c4f33b8a71 Fail a borrow whose connection is released during setup
new 43ad26ddf9 Apply the fatal-error policy to teardown and reporting
new 492a4b9176 Count every idle connection an idle pass releases
new e7cfb643ac Mask credentials in pool exception diagnostics
new 2c40b099df Align pool configuration contracts and clear blank
credentials
new 5a7a1f6ab6 Apply the JDBC pool hardening review
new 581fb1c659 Fix idle eviction gate against total pool size
new f82723f78b Reject cancellation of completed async borrow futures
new a159752c99 Count returns of connections handed back after pool close
new 76a7d64146 Remove all credential aliases when clearing pool credentials
new e7f140d7ed Route single data source credentials through credential
overloads
new 1ba3df69c2 Release direct pool JMX registrations when the pool closes
new 5e17130dc4 Mask credentials in remaining pool diagnostics
new 36c9065554 Make setPoolProperties a start-time data source property
new 69b5ef4847 Reject display-only configuration views as pool backing
configuration
new e4d2deb9c5 Reset cursor names and out-parameter state in statement
cache
new b7d9fb7d47 Fence statement cache hits against ended borrows
new 12173d3a1a Parse interceptor definitions with balanced parentheses
new 6373c41758 Name fairQueue in the non-fair async pool refusal
new 15153881c0 Report a data source that returns no XA or CPDS handle
new 7969942a7d Use a safe identity for the driver in connection diagnostics
new 08cb109da3 Flatten line breaks in the pool configuration dump
new b83033097a Hold the pool MBean weakly from queued JMX notifications
new f6de454f04 Copy parsed interceptor definitions when cloning pool
properties
new 0ecb857307 Count only successful hand-offs in the borrow statistics
new 8c7305f00f Apply connection properties when the database properties
are null
new 6297166678 Make the discarded state's true transition race-free
new a1afac98ba Close driver handles when the statement facade cannot seal
them
new c54c8a89c9 Clear the validation timestamp when a session is
disconnected
new bdceb96794 Document when the INIT FAILED notification is observable
new 008fd93cb4 Fix the asynchronous borrow future setup lifecycle
new 75c741bb0d Honour the idle eviction floor and release purge-stale
connections
new b362fb6563 Do not count internal async setup cleanup as borrows or
returns
new 9f0706e239 Book XA branches before the driver accepts start
new 34abe934bd Replace every credential alias when credentials are set
new b7697fbf09 Quote pool names containing ObjectName wildcards
new d96401c98c Document database-properties replacement precedence
new 07f55c5109 Clarify cancellation of an already-completed async borrow
new ec612e17ae Release a published pool MBean when close sees jmxEnabled
false
new e1f49942c2 Clear lastValidated while reconnectWith stages a
replacement session
new c4b61efd4f Refuse recover and timeout calls on a retired XA session
new 2f19d09c31 Make the abandoned-timer epoch check and stamp atomic
new 60f7a674af Apply the fatal-error policy through reflective construction
new 4ce2e5c7c0 Restore the discarded flag when reconnectWith fails after
connect
new 81314523fd Clarify and localize JDBC pool configuration contracts
new f3dd171968 Do not clear a discard raised while connect establishes the
new session
new b3beeeb06c Make the async future publication field final and hash all
Xid parts
new fc06d675d6 Fix checkstyle issues
The 56 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 | 9 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 679 +++++++++++++++++----
.../org/apache/tomcat/jdbc/pool/DataSource.java | 7 +-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 64 +-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 143 ++++-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 61 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 274 ++++++++-
.../org/apache/tomcat/jdbc/pool/PoolUtilities.java | 71 +++
.../apache/tomcat/jdbc/pool/PooledConnection.java | 321 +++++++---
.../apache/tomcat/jdbc/pool/StatementFacade.java | 95 ++-
.../apache/tomcat/jdbc/pool/XABranchTracker.java | 41 +-
.../AbstractCreateStatementInterceptor.java | 9 +-
.../jdbc/pool/interceptor/AbstractQueryReport.java | 24 +-
.../jdbc/pool/interceptor/ConnectionState.java | 7 +-
.../pool/interceptor/QueryTimeoutInterceptor.java | 20 +-
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 34 +-
.../jdbc/pool/interceptor/SlowQueryReport.java | 39 +-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 93 ++-
.../jdbc/pool/interceptor/StatementCache.java | 236 ++++++-
.../interceptor/StatementDecoratorInterceptor.java | 16 +-
.../jdbc/pool/interceptor/StatementFinalizer.java | 13 +-
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 121 ++--
.../tomcat/jdbc/pool/jmx/ConnectionPoolMBean.java | 13 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 16 +-
.../TestDataSourceFactoryRefAddrContent.java | 18 +
.../tomcat/jdbc/naming/TestNamingFactory.java | 23 +
.../apache/tomcat/jdbc/pool/TestAsyncBorrow.java | 65 +-
.../jdbc/pool/TestAsyncBorrowAbandonedSetup.java | 116 ++++
.../jdbc/pool/TestAsyncBorrowCancelRace.java | 75 ++-
.../pool/TestAsyncBorrowFailureDiagnostics.java | 10 +-
.../tomcat/jdbc/pool/TestAsyncBorrowInterrupt.java | 93 +++
.../jdbc/pool/TestBorrowReturnStatistics.java | 96 +++
.../jdbc/pool/TestCloseVsMBeanRegistration.java | 26 +
.../jdbc/pool/TestDataSourceCredentialRouting.java | 227 +++++++
.../tomcat/jdbc/pool/TestDataSourceNullHandle.java | 90 +++
.../pool/TestDataSourceProxyPoolProperties.java | 118 ++++
.../tomcat/jdbc/pool/TestDiscardedStateRace.java | 134 ++++
.../jdbc/pool/TestDriverConnectDiagnostics.java | 207 +++++++
.../tomcat/jdbc/pool/TestFatalTeardownError.java | 94 +++
.../pool/TestJdbcInterceptorConfigParsing.java | 51 +-
.../jdbc/pool/TestLastValidatedLifecycle.java | 210 +++++++
.../tomcat/jdbc/pool/TestLiveDriverChange.java | 94 +++
.../jdbc/pool/TestNullDatabaseProperties.java | 83 ++-
.../jdbc/pool/TestPartiallyConnectedReconnect.java | 139 +++++
.../apache/tomcat/jdbc/pool/TestPoolEviction.java | 79 +++
.../tomcat/jdbc/pool/TestPoolProperties.java | 157 ++++-
.../pool/TestReconnectWithDiscardedRestore.java | 79 +++
.../tomcat/jdbc/pool/TestReleasedIdleCount.java | 103 ++++
.../tomcat/jdbc/pool/TestSetupVsCloseRace.java | 173 ++++++
.../pool/TestStatementFacadeCrossThreadClose.java | 80 +++
.../tomcat/jdbc/pool/TestXaBranchStartBooking.java | 208 +++++++
.../interceptor/TestFatalQueryReportingError.java | 111 ++++
.../TestInterceptorPropertyWarnings.java | 133 ++++
.../interceptor/TestQueryTimeoutErrorPolicy.java | 122 ++++
.../TestResetAbandonedTimerEpochStampRace.java | 118 ++++
.../interceptor/TestSlowQueryJmxMBeanSurface.java | 45 ++
.../interceptor/TestSlowQueryJmxNotifications.java | 41 +-
.../TestSlowQueryReportAbandonedPool.java | 74 +++
.../TestStatementCacheCloseAfterDisposal.java | 38 ++
.../interceptor/TestStatementCacheRacingClose.java | 90 +++
.../pool/interceptor/TestStatementCacheReuse.java | 28 +
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 154 +++++
62 files changed, 5714 insertions(+), 494 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAsyncBorrowAbandonedSetup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAsyncBorrowInterrupt.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceCredentialRouting.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceNullHandle.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceProxyPoolProperties.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDiscardedStateRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestFatalTeardownError.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestLastValidatedLifecycle.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestLiveDriverChange.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPartiallyConnectedReconnect.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestReconnectWithDiscardedRestore.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestReleasedIdleCount.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestSetupVsCloseRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestXaBranchStartBooking.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestFatalQueryReportingError.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestInterceptorPropertyWarnings.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryTimeoutErrorPolicy.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestResetAbandonedTimerEpochStampRace.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]