Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

retry creation of the root_lock_path when a NoNode is raised, bump ve…

…rsion to 1.6.3
  • Loading branch information...
commit 8034e34cc9033cf76cd052c687cbc555c7e61a0b 1 parent 174b2cf
@slyphon slyphon authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  lib/zk/locker/locker_base.rb
  2. +1 −1  lib/zk/version.rb
View
2  lib/zk/locker/locker_base.rb
@@ -265,6 +265,8 @@ def ordered_lock_children(watch=false)
#
def create_root_path!
zk.mkdir_p(@root_lock_path)
+ rescue NoNode
+ retry
end
# performs the checks that (according to the recipe) mean that we hold
View
2  lib/zk/version.rb
@@ -1,3 +1,3 @@
module ZK
- VERSION = "1.6.2"
+ VERSION = "1.6.3"
end
Please sign in to comment.
Something went wrong with that request. Please try again.