YuChenXing created ZOOKEEPER-4898:
-------------------------------------

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

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