Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4625

No reliable way to remove watcher without interfering others in same watch mode and on same path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.8.0
    • None
    • java client
    • None

    Description

      It is possible that one node path could be watched more than once by different watchers in same watch mode and same ZooKeeper session. ZOOKEEPER-1910 reported this, but resorted to "checkWatches" to circumvent this. It leaks watches untouched in server side.

      I think it might be possible do some tracking works in client to support "removeWatches" without fearing client usages.

      Here are some links that lead to this issue:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kezhuw Kezhu Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: