add zookeeper lock