Caideyipi opened a new pull request, #19130: URL: https://github.com/apache/iotdb/pull/19130
## Description Same-instance consumer reconnects now replace the stale connection without releasing in-flight events. Requests on the replaced connection return a retryable status so the Java subscription provider can reconnect. Different consumer instances retain the existing fencing and takeover behavior. ### Commit recovery The Java client fences a consumer only when the provider returning the fencing response is still current. A stale provider no longer fences the active consumer; acknowledged commit contexts are applied once, and unconfirmed contexts remain retryable. ### Validation - 103 selected unit tests passed. - Uncached English test and Chinese test-compile passed across 49 modules, excluding distribution packaging. - The 1477 multi-process workload and distribution package build were not run. <hr> This PR has: - [x] been self-reviewed. - [x] added or updated unit tests to cover the new behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
