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 1765a0eb20 Fix compilation errors
     new 995840a064 Replicate SSO session key set changes from removeSession() 
and sessionChangedId() in ClusterSingleSignOn so SSO entries are deregistered 
on all nodes when the last associated session expires
     new 8ef1df78de Guard ClusterSingleSignOn.stopInternal() against a 
ClassCastException when the ReplicatedMap was never created after a failed start
     new 6faa409c0c Skip auto-assigned-port connector thread pool MBeans in 
CollectedInfo since their name carries a name index rather than a port
     new e0846c0078 Bound connect and read operations in TcpSender with 
timeouts since the heartbeat runs on the shared server utility executor, and 
close connections on read failure
     new 02b80b9cdd Keep existing proxy connections in TcpSender.init when the 
proxy list has not changed since the heartbeat runs init on every periodic 
event and closing connections there defeated the keep-alive design
     new 237056b61b Close the multicast socket in MultiCastSender when socket 
setup fails after creation to avoid leaking one socket per heartbeat and 
validate the TTL range in HeartbeatListener
     new 53df50a02e Move attributes set during web application startup into the 
replicated attribute map when it is installed in ReplicatedContext so they are 
replicated to the other nodes
     new c8ce5ceba0 Fire ServletContextAttributeListener events for attributes 
stored in the local map of a ReplicatedContext by extracting the event firing 
logic of ApplicationContext into overridable hooks
     new febd7177ec Make MultiEnumeration.nextElement throw 
NoSuchElementException when exhausted and report attribute names present in 
both stores only once
     new 52d8d3a215 Correct the calculation of the total number of fragment 
messages in FileMessageFactory which declared one message too many for files 
whose size is an exact multiple of the fragment size, so WAR deployments via 
FarmWarDeployer never completed for those files
     new 35ca9349ec Synchronize FileMessageFactory.isValid() with the write 
path and remove expired factories by instance to avoid racing with in-flight 
transfers
     new 5608c440d4 Use a concurrent map for WarWatcher.currentStatus since 
clear() may run on the stop thread while check() iterates the map on the 
container background thread
     new 2772a885b4 Remove completed file factories by instance in 
FarmWarDeployer to avoid evicting a freshly created factory for a new transfer 
of the same WAR
     new b01c6eb0dd Avoid logging a spurious delete failure for a context.xml 
that never existed and log a warning when a cluster undeploy targets a context 
that is not present on the node in FarmWarDeployer
     new 5b417ee251 Log a clear configuration error and disable watching when 
FarmWarDeployer has watchEnabled set without a watchDir rather than failing 
with a NullPointerException on start
     new 36b2afffb3 Capture and send the final session delta in 
DeltaSession.expire() before acquiring the session monitor to avoid a lock 
order inversion against the delta lock
     new 440d29f842 Reset noContextManagerReceived in 
DeltaManager.getAllClusterSessions() alongside stateTransferred so that a 
repeated state transfer does not exit immediately on a stale response
     new 1434345c95 Compare type and action as well as name when de-duplicating 
DeltaRequest actions so that distinct changes sharing a name, such as an 
attribute and a note, are all replicated, and recycle the evicted action back 
to the pool
     new db7449695c Make hasMembers volatile so that membership changes made on 
the tribes membership thread are visible to the request threads that read it
     new fa253b2276 Snapshot the request counter in 
ReplicationValve.updateStats() and guard against zero so that a concurrent 
resetStatistics() cannot cause a division by zero
     new fb5ca8c6ac Fire the SEND_MESSAGE_FAILURE_EVENT lifecycle event with 
the failing message, destination and exception from SimpleTcpCluster.send() 
when notifyLifecycleListenerOnFailure is enabled, making the previously 
declared but never fired event work as documented
     new 6521777344 Make SimpleTcpCluster.stopInternal() cleanup robust: guard 
each step so a channel stop failure cannot skip listener removal and cluster 
valve unregistration, and unregister the MBeans of all cluster members from the 
member name map on stop
     new 9f53a711da Name the fallback manager created by 
SimpleTcpCluster.createManager() when cloning the manager template fails so 
that its replication messages carry a context name and are not routed to every 
context on the receiving nodes
     new 16a01d5e0b Java compat and changelog merge issue

The 24 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:
 .../apache/catalina/core/ApplicationContext.java   |  31 ++++--
 .../ha/authenticator/ClusterSingleSignOn.java      |  28 +++++-
 .../apache/catalina/ha/backend/CollectedInfo.java  |   8 ++
 .../catalina/ha/backend/HeartbeatListener.java     |   5 +
 .../catalina/ha/backend/LocalStrings.properties    |   1 +
 .../catalina/ha/backend/MultiCastSender.java       |   3 +
 java/org/apache/catalina/ha/backend/TcpSender.java |  54 +++++++++--
 .../catalina/ha/context/ReplicatedContext.java     |  40 ++++++--
 .../apache/catalina/ha/deploy/FarmWarDeployer.java |  61 +++++++-----
 .../catalina/ha/deploy/FileMessageFactory.java     |   6 +-
 .../catalina/ha/deploy/LocalStrings.properties     |   2 +
 java/org/apache/catalina/ha/deploy/WarWatcher.java |   8 +-
 .../apache/catalina/ha/session/DeltaManager.java   |   4 +
 .../apache/catalina/ha/session/DeltaRequest.java   |  25 +++--
 .../apache/catalina/ha/session/DeltaSession.java   |  31 +++---
 .../apache/catalina/ha/tcp/ReplicationValve.java   |  11 ++-
 .../apache/catalina/ha/tcp/SimpleTcpCluster.java   |  34 ++++++-
 .../catalina/ha/deploy/TestFileMessageFactory.java | 108 +++++++++++++++++++++
 .../catalina/ha/session/TestDeltaRequest.java      |  25 +++++
 webapps/docs/changelog.xml                         |  33 +++++++
 20 files changed, 441 insertions(+), 77 deletions(-)
 create mode 100644 
test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to