He-Pin opened a new pull request, #3317:
URL: https://github.com/apache/pekko/pull/3317

   ### Motivation
   Artery waits without a deadline for remoting stream completion during 
ActorSystem termination. A stalled stream can therefore prevent 
transport-specific shutdown from starting and keep the actor system alive 
indefinitely.
   
   ### Modification
   - Add `pekko.remote.artery.advanced.shutdown-streams-timeout` with a 
10-second default.
   - Continue with transport shutdown when graceful stream completion exceeds 
that deadline.
   - Continue with transport shutdown if the system scheduler is already 
unavailable.
   - Preserve the normal streams-before-transport ordering and shutdown 
idempotency.
   - Document the setting and add directional regression coverage for both 
timeout paths.
   
   ### Result
   A stalled remoting stream no longer blocks Artery transport shutdown 
indefinitely.
   
   ### Tests
   - `sbt -Dpekko.remote.artery.transport=aeron-udp "remote / Test / testOnly 
org.apache.pekko.remote.artery.ArteryTransportShutdownSpec 
org.apache.pekko.remote.artery.FlushOnShutdownSpec"` - passed, 3 tests on 
latest `main` with Aeron 1.52.1
   - `sbt +mimaReportBinaryIssues` - passed for Scala 2.13 and Scala 3.3
   - `sbt +headerCheckAll` - passed
   - `sbt docs/paradox` - passed (existing duplicate-anchor warnings)
   - `sbt checkCodeStyle` - passed
   - `scalafmt --list --mode diff-ref=origin/main` - passed
   - `git diff --check` - passed
   - `sbt sortImports` - not completed because the installed SortImports plugin 
is binary-incompatible with the current Scalafix/Scalameta version
   - `sbt validatePullRequest` - not run per request
   
   ### References
   Fixes #3247
   


-- 
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]


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

Reply via email to