zuazo / zookeeper_bridge-cookbook

Chef cookbook to help integrating the Chef Run with ZooKeeper.
https://supermarket.chef.io/cookbooks/zookeeper_bridge
Apache License 2.0
1 stars 0 forks source link

Support for "double barriers" #2

Open stensonb opened 9 years ago

stensonb commented 9 years ago

As described here: http://zookeeper.apache.org/doc/trunk/recipes.html (search for "Double Barriers")

chef-client use case: ensure all nodes (or at least N nodes) have stopped the execution of a server until any are allowed to proceed...(due to some terrible schema, non-backwards compatible upgrade, for example)

zuazo commented 9 years ago

Yes, this would be very interesting.

I think this should be previously implemented in the zk gem, to prevent cookbook libraries become too complex.

There are already some related (abandoned?) tickets: