Comments (3)
.. this happens when the command is followed by a call that includes a version argument - these 3 places in erlzk_test.erl..
{ok, {"/a", Stat}} = erlzk:create2(Pid, "/a"),
?assertMatch({error, bad_version}, erlzk:delete(Pid, "/a", Stat#stat.version + 1)),
..
{ok, {"/a", Stat}} = erlzk:create2(Pid, "/a", <<"a">>),
?assertMatch({error, bad_version}, erlzk:set_data(Pid, "/a", <<"b">>, Stat#stat.version + 1)),
...
{ok, {"/a", Stat}} = erlzk:create2(Pid, "/a"),
?assertMatch({error, bad_version}, erlzk:set_acl(Pid, "/a", ?ZK_ACL_READ_ACL_UNSAFE, Stat#stat.version + 1)),
... in each case the return is 'unimplemented' like the above - looks like my zookeeper setup.
from erlzk.
ZooKeeper latest stable v3.4.6 removed create2 function, that's why these 3 tests failed.
This function included in last stable v3.4.5, and added it again in current developing v3.5.0.
Right now just ignore create2, if you want get stat of path, use get_data/2 or exists/2 instead.
from erlzk.
Thanks megayu - works for me.
from erlzk.
Related Issues (10)
- Tag 0.3.1 HOT 1
- Error levels seem too high HOT 5
- erlang:now is deprecated in Erlang 18 HOT 1
- heartbeat not fully implemented? HOT 10
- Not able to connect a consul zk address through vpn HOT 2
- Whats the syntax for :erlzk.multi method, if used in Elixir. HOT 1
- When all ZK Servers fail to resolve, erlzk becomes stuck in a loop HOT 6
- Help wanted, kevinbombadil
- FORMAT ERROR after retry 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 erlzk.