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 82b4072486 Replace runtime certificate generation with pre-generated
fixtures
new 9cfb01cfad Reset cached statement large row limit
new c87f71bec4 Honour the deadline of a timed async connection get
new 7841c5e4b6 Release a late slow-query store on pool close
new 25dc9c0438 Keep the JMX notifier on the pool class loader
new 3cc5329f05 Keep statement cache purge making progress
new e115988793 Reject start-only data source property writes after start
new 705671268c Keep the closed pool weakly reachable from a retained
statement
new 6165bcb536 Use the configured driver when a pooled connection
reconnects
new 2b19b1fcc0 Fail a borrow whose connection is released during setup
new 9e5a3564ba Apply the fatal-error policy to teardown and reporting
new e31bcc304a Count every idle connection an idle pass releases
new 753b99aafc Mask credentials in pool exception diagnostics
new e3c678123d Align pool configuration contracts and clear blank
credentials
new d9987a2f90 Apply the JDBC pool hardening review
new b9d334ef7b Fix idle eviction gate against total pool size
new c129b3dcc7 Reject cancellation of completed async borrow futures
new a611549776 Count returns of connections handed back after pool close
new cc70ed0dfb Remove all credential aliases when clearing pool credentials
new 142bc9fda2 Route single data source credentials through credential
overloads
new 3ef2e59eef Release direct pool JMX registrations when the pool closes
new a2f02699ae Mask credentials in remaining pool diagnostics
new 5ad412a8f4 Make setPoolProperties a start-time data source property
new f01f417414 Reject display-only configuration views as pool backing
configuration
new b9616d42e7 Reset cursor names and out-parameter state in statement
cache
new 20141b2f1c Fence statement cache hits against ended borrows
new 3626cbeb6c Parse interceptor definitions with balanced parentheses
new 3eaa0cf771 Name fairQueue in the non-fair async pool refusal
new 773eb70acc Report a data source that returns no XA or CPDS handle
new a6d4aee6af Use a safe identity for the driver in connection diagnostics
new 50461f9b00 Flatten line breaks in the pool configuration dump
new 59a7a8bad1 Hold the pool MBean weakly from queued JMX notifications
new 3b08d6cec2 Copy parsed interceptor definitions when cloning pool
properties
new 85e8b76b5c Count only successful hand-offs in the borrow statistics
new 1a4e6374a9 Apply connection properties when the database properties
are null
new 18ca23d966 Make the discarded state's true transition race-free
new 3979293ee8 Close driver handles when the statement facade cannot seal
them
new b9842665b0 Clear the validation timestamp when a session is
disconnected
new b518153716 Document when the INIT FAILED notification is observable
new 8169420327 Fix the asynchronous borrow future setup lifecycle
new ff01203789 Honour the idle eviction floor and release purge-stale
connections
new 5aa4cd3ff5 Do not count internal async setup cleanup as borrows or
returns
new 14c7ee3894 Book XA branches before the driver accepts start
new 23befdd4d8 Replace every credential alias when credentials are set
new 1c05ed77f9 Quote pool names containing ObjectName wildcards
new c946e96442 Document database-properties replacement precedence
new 6095379c9f Clarify cancellation of an already-completed async borrow
new 6c381aa851 Release a published pool MBean when close sees jmxEnabled
false
new 628eaa5dc3 Clear lastValidated while reconnectWith stages a
replacement session
new c6a5ac8f2e Refuse recover and timeout calls on a retired XA session
new c850ee917c Make the abandoned-timer epoch check and stamp atomic
new eda6fbbdb5 Apply the fatal-error policy through reflective construction
new 7227b88b3e Restore the discarded flag when reconnectWith fails after
connect
new 98d0300d6a Clarify and localize JDBC pool configuration contracts
new 63748ff037 Do not clear a discard raised while connect establishes the
new session
new 2b536c5c28 Make the async future publication field final and hash all
Xid parts
new bab47cc516 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 | 13 +-
.../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(+), 491 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]