Comments (2)
@abronan any comment to this?
from libkv.
I dug into this and it looks to be on ZK's end, it doesn't send the event. I modified go-zookeeper to log the res.xid
from ZK and then created a watcher with libkv, then modified the target key and no event was seen by libkv or go-zookeeper.
test log:
2016/10/21 21:51:18 Connected to 0.0.0.0:2181
2016/10/21 21:51:18 Authenticated: id=96802055589330982, timeout=10000
2016/10/21 21:51:18 Re-submitting `0` credentials after reconnect
2016/10/21 21:51:18 recv loop started
2016/10/21 21:51:18 res.xid 1
2016/10/21 21:51:18 res.xid 2
2016/10/21 21:51:18 res.xid 3
2016/10/21 21:51:18 res.xid 4
2016/10/21 21:51:18 res.xid 5
2016/10/21 21:51:18 res.xid 6
2016/10/21 21:51:18 res.xid 7
watch loop <- libkv/zookeeper started its watcher loop
2016/10/21 21:51:21 res.xid -2
2016/10/21 21:51:24 res.xid -2
2016/10/21 21:51:28 res.xid -2 <- I modified the key and only heartbeats were sent by ZK
2016/10/21 21:51:31 res.xid -2
// -2 continues...
I was using the official zookeeper docker image with default settings. I'm also not a ZK expert so maybe I missed a configuration setting that would have altered my results.
from libkv.
Related Issues (20)
- do libkv support etcd v3? HOT 1
- bug in WatchTree for etcd
- Add function to list all the key-values in the boltdb store HOT 1
- add option to disable quorum for gets with etcd backend HOT 1
- Lock() of Locker interface should probably take a receive-only channel
- In etcd at least, waitLock() ignores an action HOT 1
- A race is possible in etcd's Lock() HOT 1
- Implement a Kubernetes driver
- Panic in older versions of consul
- Active again? HOT 2
- Optionally disable ZooKeeper logging
- Inconsistent reference to license for docs
- When multiple etcd stores are passed to the API. Which one is given preference? HOT 1
- can not get zookeeper path data, node cannot be discovery.
- panic in List() method with boltdb backend
- zookeeper GetW function seems has a atomic error
- possible data race in AddStore()
- implemented a etcd v3 api store HOT 1
- Travis-ci: AMD64 build is failing HOT 1
- Valkeyrie: a maintained fork created by the original author of libkv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libkv.