Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

网络中断恢复后,临时节点没有恢复 #5

Open
junjie-sun opened this issue Feb 1, 2019 · 0 comments
Open

网络中断恢复后,临时节点没有恢复 #5

junjie-sun opened this issue Feb 1, 2019 · 0 comments

Comments

@junjie-sun
Copy link

模拟了网络故障的情景,所创建的临时节点没有在网络恢复后自动还原。分析了源码后发现是由于ZookeeperClient类第369行,await nodeEntry.Value.OnChange(watchedEvent, true); 第二个参数设置为true造成的,当我把此参数改为false后临时节点就能够自动还原了。但我不确定这样改是否会影响组件的其它功能,所以还是需要请作者来检查并修复此问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant