cxzl25 opened a new issue, #6477:
URL: https://github.com/apache/kyuubi/issues/6477

   ### What's the level of this task?
   
   EASY
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before creating
   
   - [X] I have searched in the [task 
list](https://github.com/orgs/apache/projects/343) and found no similar tasks.
   
   
   ### Mentor
   
   - [X] I have sufficient expertise on this task, and I volunteer to be a 
mentor of this task to guide contributors through the task.
   
   
   ### Skill requirements
   
   - Basic knowledge on Scala programming language
   
   ### Background and Goals
   
   The `NodeDataChanged` event listener is implemented at 
https://github.com/apache/kyuubi/pull/3543, but there is still a small chance 
that the watch event will be lost.
   
   In the internal version of the fix, we receive any event that implements 
rewatch.
   
   The following log shows that it received `Watcher.Event.EventType#None`.
   ```
   24/06/17 07:33:14,909 [main-EventThread] WARN ZookeeperDiscoveryClient: This 
Kyuubi instance xxx (znode null) receives None
   24/06/17 07:33:17,201 [main-EventThread] INFO ConnectionStateManager: State 
change: SUSPENDED
   24/06/17 07:33:17,202 [main-EventThread] WARN ZookeeperDiscoveryClient: This 
Kyuubi instance xxx:xx (znode null) receives None
   ```
   
   ### Implementation steps
   
   DeRegisterWatcher should re-watch when any event is received
   
   ### Additional context
   
   Introduction of [2024H1 Kyuubi Code Contribution 
Program](https://github.com/apache/kyuubi/issues/6232)
   


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