[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930503#comment-17930503
 ] 

YuChenXing commented on ZOOKEEPER-4898:
---------------------------------------

I have submitted a Pull Request #2228 , and I hope it will be helpful.

> 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
>         Attachments: image-2025-02-26-09-43-37-299.png, 
> image-2025-02-26-09-48-32-165.png
>
>          Time Spent: 10m
>  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)

Reply via email to