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 2f6e43f5f5 Replace runtime certificate generation with pre-generated
fixtures
new bb203b8ad8 Reset cached statement large row limit
new b53b189f72 Honour the deadline of a timed async connection get
new 289b24da6d Release a late slow-query store on pool close
new 98b8cceffd Keep the JMX notifier on the pool class loader
new f86f542065 Keep statement cache purge making progress
new 2e0c5bb6ac Reject start-only data source property writes after start
new 4862c64554 Keep the closed pool weakly reachable from a retained
statement
new 1a26c5777d Use the configured driver when a pooled connection
reconnects
new d8800dcd4f Fail a borrow whose connection is released during setup
new 445fba6c4e Apply the fatal-error policy to teardown and reporting
new db31cad40b Count every idle connection an idle pass releases
new b0381ff13f Mask credentials in pool exception diagnostics
new b5f1b4e32d Align pool configuration contracts and clear blank
credentials
new 8b328f2f54 Apply the JDBC pool hardening review
new 5527d25462 Fix idle eviction gate against total pool size
new fff64b01fa Reject cancellation of completed async borrow futures
new 29fae7b673 Count returns of connections handed back after pool close
new 497ee51087 Remove all credential aliases when clearing pool credentials
new 829fc4362d Route single data source credentials through credential
overloads
new 40720d5b84 Release direct pool JMX registrations when the pool closes
new dbbd40fdc7 Mask credentials in remaining pool diagnostics
new ec2e56d463 Make setPoolProperties a start-time data source property
new 58b83b1f63 Reject display-only configuration views as pool backing
configuration
new 72c85222e9 Reset cursor names and out-parameter state in statement
cache
new 9295778610 Fence statement cache hits against ended borrows
new c0f1a79c27 Parse interceptor definitions with balanced parentheses
new 58913a01f4 Name fairQueue in the non-fair async pool refusal
new b0a3dc1dab Report a data source that returns no XA or CPDS handle
new bcc15f535e Use a safe identity for the driver in connection diagnostics
new b134625927 Flatten line breaks in the pool configuration dump
new 2115d16046 Hold the pool MBean weakly from queued JMX notifications
new a3ff3537d4 Copy parsed interceptor definitions when cloning pool
properties
new 4cc21fe7ae Count only successful hand-offs in the borrow statistics
new 5e976e524c Apply connection properties when the database properties
are null
new 7b2c2975c5 Make the discarded state's true transition race-free
new 9f8a950f62 Close driver handles when the statement facade cannot seal
them
new c909734e5b Clear the validation timestamp when a session is
disconnected
new c47a74cb72 Document when the INIT FAILED notification is observable
new 88e1c67b12 Fix the asynchronous borrow future setup lifecycle
new 0578eb9860 Honour the idle eviction floor and release purge-stale
connections
new 88299bac0e Do not count internal async setup cleanup as borrows or
returns
new 9afb9df0de Book XA branches before the driver accepts start
new 293bf67b5b Replace every credential alias when credentials are set
new 0dfa25156b Quote pool names containing ObjectName wildcards
new 8928f7d45c Document database-properties replacement precedence
new 9eff5fadf9 Clarify cancellation of an already-completed async borrow
new 3f181071f0 Release a published pool MBean when close sees jmxEnabled
false
new 04dc9f3065 Clear lastValidated while reconnectWith stages a
replacement session
new 8f2d9d0141 Refuse recover and timeout calls on a retired XA session
new e4bfcc9586 Make the abandoned-timer epoch check and stamp atomic
new 70c84143fa Apply the fatal-error policy through reflective construction
new 7c040c523f Restore the discarded flag when reconnectWith fails after
connect
new e76a29ec0b Clarify and localize JDBC pool configuration contracts
new 838245e16d Do not clear a discard raised while connect establishes the
new session
new d172075b4d Make the async future publication field final and hash all
Xid parts
new e8d42e57b6 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]