Skip to content

zk-ref watcher called with wrong values #1

@cch1

Description

@cch1

I have created a zk-ref and added two watchers. One is added inline at created of the ref, the other is added subsequently using add-watch.

I then run tests by manually (from the REPL) changing the zk-ref from a remote machine.

Occasionally, I notice both watchers are called with the PREVIOUS state in the new (last) argument. Immediately after this problem, I verify that the distributed ref has the correct value on the same machine where the watcher was invoked incorrectly.

set-to/watcher-called-with/zk-ref-has
1/1/1
2/2/2
3/2/3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions