sherlock icon indicating copy to clipboard operation
sherlock copied to clipboard

How do you handle client disconnects?

Open adamsd5 opened this issue 8 years ago • 1 comments

Can you write up a summary detailing how you deal with clients that disconnect? For example, Zookeeper provides ephemeral files that disappear when the client crashes. However, this can also be a problem if there is a network interrupt and the client connection temporarily fails (releasing the lock). Have you considered these client-side failure conditions?

adamsd5 avatar Nov 28 '16 23:11 adamsd5

sherlock doesn't integrate with zookeeper just yet. And I don't see this been a problem with the existing backend support (i.e. memcached, redis and etcd).

But thanks for bringing this to my notice. I am going to add this to the zookeeper backlog (#2) to make sure that this case is covered.

vaidik avatar May 07 '18 10:05 vaidik