Especially, this can be problematic when locking a large number of BSPPeers.

On Tue, Jun 21, 2011 at 5:13 PM, Edward J. Yoon <[email protected]> wrote:
> Hi all,
>
> Recently I'm looking at HAMA-387.
>
> There's some problem related with lock and barrier synchronization.
> The problem is as soon as last one of lock files deleted (before
> completely escape from while loop at leaveBarrier method), others
> begin to create their lock file. So, sometimes, it causes hang.
>
> My temporary solution is 'Thread.sleep(200);'. Good but not perfect.
> If zk.getChildren() response is slower than 200 milliseconds, process
> will be hanged.
>
> Is there any other idea?
>
> Thanks.
> --
> Best Regards, Edward J. Yoon
> @eddieyoon
>



-- 
Best Regards, Edward J. Yoon
@eddieyoon

Reply via email to