This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


    from a8219bf8e0 Replace runtime certificate generation with pre-generated 
fixtures
     new 39f79096be Reset cached statement large row limit
     new 4067f6f54e Honour the deadline of a timed async connection get
     new 31ce21c2a3 Release a late slow-query store on pool close
     new 7b13334ece Keep the JMX notifier on the pool class loader
     new e1b091d671 Keep statement cache purge making progress
     new aa38e6ada6 Reject start-only data source property writes after start
     new 1294bdb341 Keep the closed pool weakly reachable from a retained 
statement
     new 9defc197ef Use the configured driver when a pooled connection 
reconnects
     new e95b646b32 Fail a borrow whose connection is released during setup
     new 916c04d1fa Apply the fatal-error policy to teardown and reporting
     new b7f1c1fc5c Count every idle connection an idle pass releases
     new 5ea11348f1 Mask credentials in pool exception diagnostics
     new 85b220f93a Align pool configuration contracts and clear blank 
credentials
     new 44e5406775 Apply the JDBC pool hardening review
     new f22138418a Fix idle eviction gate against total pool size
     new 90ff70b21c Reject cancellation of completed async borrow futures
     new af48365e6c Count returns of connections handed back after pool close
     new 4118f53d17 Remove all credential aliases when clearing pool credentials
     new f512cc2864 Route single data source credentials through credential 
overloads
     new 73ba64e7fb Release direct pool JMX registrations when the pool closes
     new ccc253a90f Mask credentials in remaining pool diagnostics
     new 199c722a37 Make setPoolProperties a start-time data source property
     new a97eb734db Reject display-only configuration views as pool backing 
configuration
     new 7473ca9d46 Reset cursor names and out-parameter state in statement 
cache
     new 7b50eee6a2 Fence statement cache hits against ended borrows
     new 04a6741215 Parse interceptor definitions with balanced parentheses
     new 74750a0009 Name fairQueue in the non-fair async pool refusal
     new 533cc28146 Report a data source that returns no XA or CPDS handle
     new 5ed776e2f9 Use a safe identity for the driver in connection diagnostics
     new e4dc250720 Flatten line breaks in the pool configuration dump
     new f76e34c1ed Hold the pool MBean weakly from queued JMX notifications
     new c225afe132 Copy parsed interceptor definitions when cloning pool 
properties
     new 36fca835d2 Count only successful hand-offs in the borrow statistics
     new 4a58cac017 Apply connection properties when the database properties 
are null
     new a96a75b988 Make the discarded state's true transition race-free
     new b87d79830c Close driver handles when the statement facade cannot seal 
them
     new 9f9110f671 Clear the validation timestamp when a session is 
disconnected
     new 2165dbe0f8 Document when the INIT FAILED notification is observable
     new dd5e57ab83 Fix the asynchronous borrow future setup lifecycle
     new ded16911ba Honour the idle eviction floor and release purge-stale 
connections
     new 5af7a1bf3b Do not count internal async setup cleanup as borrows or 
returns
     new 3c74e6e278 Book XA branches before the driver accepts start
     new eed027482d Replace every credential alias when credentials are set
     new 2477a405e2 Quote pool names containing ObjectName wildcards
     new 43c3ddb82f Document database-properties replacement precedence
     new ae05de4871 Clarify cancellation of an already-completed async borrow
     new bcf8f4db21 Release a published pool MBean when close sees jmxEnabled 
false
     new d471041b2a Clear lastValidated while reconnectWith stages a 
replacement session
     new a9ba2f32ef Refuse recover and timeout calls on a retired XA session
     new a0dc675103 Make the abandoned-timer epoch check and stamp atomic
     new 3f69c4feaa Apply the fatal-error policy through reflective construction
     new e31209275d Restore the discarded flag when reconnectWith fails after 
connect
     new 8969ec0d3b Clarify and localize JDBC pool configuration contracts
     new e6cd89d53e Do not clear a discard raised while connect establishes the 
new session
     new 89496182ee Make the async future publication field final and hash all 
Xid parts
     new 88be613f3b Merge branch 'main' of [email protected]:apache/tomcat.git 
into main

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    | 680 +++++++++++++++++----
 .../org/apache/tomcat/jdbc/pool/DataSource.java    |   8 +-
 .../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, 5716 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]

Reply via email to