You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If in transaction call Transaction.prototype.setData = function (path, data, version)
and version has value 0, but an output is internally evaluated as -1 but should be 0 otherwise this use case doesn't work:
I have znode in zookeeper with version e.i. 33 and I will call aforementioned function Transaction.prototype.setData = function (path, data, 0) and everything will be updated even though this should throw an Exception.BAD_VERSION because version 0 and 33 is different.
The text was updated successfully, but these errors were encountered:
node-zookeeper-client/lib/Transaction.js
Line 123 in 290e468
If in transaction call
Transaction.prototype.setData = function (path, data, version)
and version has value 0, but an output is internally evaluated as -1 but should be 0 otherwise this use case doesn't work:
I have znode in zookeeper with version e.i. 33 and I will call aforementioned function
Transaction.prototype.setData = function (path, data, 0)
and everything will be updated even though this should throw an Exception.BAD_VERSION because version 0 and 33 is different.The text was updated successfully, but these errors were encountered: