ZooKeeper - Mini Transaction Support Dec 19, 2020 ZooKeeper mini transaction logic The following pseudo code shows how to increase value x with version number information. 1 2 3 4 5 while (true) { x, v = getData('f') if setData('f', x + 1, v) break }