You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "slievrly (via GitHub)" <gi...@apache.org> on 2026/09/26 06:45:38 UTC
[I] [Bug] Late client channel callbacks reject cleanup after timer shutdown [incubator-seata]
slievrly opened a new issue, #8240:
URL: https://github.com/apache/incubator-seata/issues/8240
### Check Ahead
- [x] Searched existing issues/PRs for shutdown-related RejectedExecutionException.
- [x] Willing to fix.
### Ⅰ. Issue Description
Late Netty channel callbacks submit cleanup to an already-terminated client timer executor. Cleanup is lost and exceptionCaught can itself throw another RejectedExecutionException.
### Ⅱ. Describe what happened
[Java 17 CI](https://github.com/apache/incubator-seata/actions/runs/35840434140/job/107113931949), at 10:06:39.478 and during subsequent RM teardown (raw log lines 59037 and 59187), contains RejectedExecutionException from ClientHandler callbacks and Netty warnings that exceptionCaught threw again. The timer executor is reported as Terminated. These are teardown callbacks, not an injected rejected-executor test.
### Ⅲ. Expected behavior
Finish releasing the channel and disconnected metadata even if shutdown wins the submission race. A rejection from a still-running executor must remain visible.
### Ⅳ. Reproduction
Stop a client's timerExecutor and invoke ClientHandler.channelInactive or exceptionCaught with a valid channel. The original implementation rejects submission. Stopping messageExecutor too instead makes channelInactive return before cleanup and event propagation.
### Ⅴ. Notes
Avoid relying solely on isShutdown before execute: shutdown can happen between the check and submission.
### Ⅵ. Environment
Seata 2.8.0-SNAPSHOT at 96e84e52f; Java 17.
--
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: notifications-unsubscribe@seata.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [I] [Bug] Late client channel callbacks reject cleanup after timer shutdown [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes closed issue #8240: [Bug] Late client channel callbacks reject cleanup after timer shutdown
URL: https://github.com/apache/incubator-seata/issues/8240
--
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: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org