uwiger/locks — pull request #1 by rymir (2013-10-30 17:24:18+00:00)
Title: fix for the candidates (and the leader) agents not removing locks from t...

Say that you have two nodes, one candidate node and one leader node. When you stop the candidate node and then
you restart it, the leader node locks_agent will reject the lock from the just restarted candidate node locks_agent because outdated (lower version). Is this the expected behaviour?
I was expecting the leader node locks_agent to remove all the associated locks from its state whenever it gets a down from a stopped locks_server process.