[ https://issues.apache.org/jira/browse/ZOOKEEPER-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zili Chen resolved ZOOKEEPER-4898. ---------------------------------- Fix Version/s: 3.10.0 Resolution: Fixed master via https://github.com/apache/zookeeper/pull/2228 > The incorrect usage of the subclass of ZooKeeperThread leads to the failure > of exception handling > ------------------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-4898 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4898 > Project: ZooKeeper > Issue Type: Improvement > Components: leaderElection > Environment: all operating system > Reporter: YuChenXing > Priority: Trivial > Labels: pull-request-available > Fix For: 3.10.0 > > Attachments: image-2025-02-26-09-43-37-299.png, > image-2025-02-26-09-48-32-165.png > > Time Spent: 40m > Remaining Estimate: 0h > > WorkerSender inherits from ZooKeeperThread. When using WorkerSender, a > WorkerSender thread is created first, followed by the creation of a new > thread where WorkerSender is passed as a task. At this point, the > ExceptionHandler in ZooKeeperThread does not take effect. > !image-2025-02-26-09-48-32-165.png!!image-2025-02-26-09-43-37-299.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)