consul-skipper icon indicating copy to clipboard operation
consul-skipper copied to clipboard

Issues with locks not being released when the leader is down

Open darkcrux opened this issue 9 years ago • 3 comments

Maybe we need to use LockDelay and TTL for sessions.

darkcrux avatar Mar 03 '15 04:03 darkcrux

I think in the longer run, consul-skipper should add support for – TTL and Checks. The benefit of adding Checks to the session is that it takes the burden out of consul-skipper to renew the session; consul will invalidate the session if the checks fail. However, I think TTL provides a better abstraction to clients as they don't have to register a consul check. What do you say?

thedebugger avatar Mar 30 '15 19:03 thedebugger

I just discovered this project but quickly ran into the issue with stale leader when the application is killed without resigning. :+1: for adding support for TTL.

jhaals avatar May 12 '15 20:05 jhaals

ran into this while testing a pre-prod cluster +1

euforia avatar Aug 08 '15 07:08 euforia