samuel/go-zookeeper

Expose Lock Sequence Number

Opened this issue · 0 comments

I'm looking to use zookeeper as the distributed lock manager and would like to implement fencing in a multiple-writer situation. Since the sequence number from zookeeper is based on monotonic time, I'd like to have exposed the sequence number of the acquired lock.