stuck when create ephemeral node in CONNECTED state event
See original GitHub issueHi ,guys, here is my code
def watch_state(state):
"""
Listen zookeeper connection events
"""
if state == KazooState.LOST:
self.logger.warn('connection to zookeeper lost, session expired')
elif state == KazooState.SUSPENDED:
self.logger.warn('connection to zookeeper suspended')
elif state == KazooState.CONNECTED:
self.logger.warn('connection to zookeeper restored')
// stuck when call create node
self._create_node()
It’s no problem when I use this code in curator, but it is stuck in kazoo, where should I recreate the ephemeral node when kazoo reconnect to zookeeper after session expired ?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Watches and Ephemeral node doesn't work when state of ...
Here is the thing, when there is a state change in the connection, your watcher will also get triggered. There is an Event...
Read more >PODs stuck in ContainerCreating state on TKGS Guest ...
In vSphere 7.0 U3, after an HA failover or reboot of a TKGS Worker Node, pods will show stuck in ContainerCreating state.
Read more >Build process fails with error “Insufficient ephemeral-storage ...
After deploying Manage on MAS, the build process hangs for an extended period of time, eventually failing with an error message similar to ......
Read more >Re: are ephemeral nodes removed when client receives session ...
Client A connected to Leader with session S 2. ... first chain can get stuck on a various places like some quorum nodes...
Read more >Node Not Ready status after node is in a healthy state - Azure
Check whether your connections remain idle for a long time and rely on the default idle time-out to release its port. If the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I run
create_node
in another thread 😃I met similar problem when call any function of create_instance/get_children/get when
state == KazooState.CONNECTED
it just stuck there and nothing error or return