答复: whether curator does the sync action when using InterProcessMutex in framework?

2016-10-13 Thread sammy
Yes, I use InterProcessMutex. Thanks a lot for your explanation! :) 发件人: Jordan Zimmerman [mailto:jor...@jordanzimmerman.com] 发送时间: 2016年10月14日 星期五 3:06 收件人: user@curator.apache.org 主题: Re: whether curator does the sync action when using InterProcessMutex in framework? Are you using

Re: whether curator does the sync action when using InterProcessMutex in framework?

2016-10-13 Thread Jordan Zimmerman
Are you using Curator’s InterProcessMutex? If so, then you don’t need to worry about sync. syncs are implied in every write operation in ZooKeeper. There’s almost never a reason to manually do a sync. -Jordan > On Oct 13, 2016, at 4:47 AM, liusammy wrote: > > Hi guys, > > as you know, zk has

whether curator does the sync action when using InterProcessMutex in framework?

2016-10-13 Thread liusammy
Hi guys, as you know, zk has feature that write action is confirm after majority of zk nodes successfully write. To read data, client needs to send sync request to zk cluster node then get the newest data. currently I use curator to do distributed lock framework. I wonder whether or n