Re: Remove Watcher only remove client-side watcher and remain server-side watcher leak

2023-09-13 Thread tison
I found that I asked once at https://lists.apache.org/thread/0kcnklcxs0s5656c1sbh3crgdodbb0qg. And there is a pending issue https://issues.apache.org/jira/browse/ZOOKEEPER-4625 Best, tison. tison 于2023年9月13日周三 22:15写道: > See https://issues.apache.org/jira/browse/FLINK-33053. > > While removeA

Remove Watcher only remove client-side watcher and remain server-side watcher leak

2023-09-13 Thread tison
See https://issues.apache.org/jira/browse/FLINK-33053. While removeAllWatches removes all watches both client-side and server-side, removeWatches only check the watcher existence and remove the client-side one, remain the server-side watcher as is. Thus, it can leak if no any further events. Is i