https://issues.apache.org/jira/browse/AMQ-4705 - verify lock sanity on acquire so master cannot start and immediatly fail with a keepalive failure

This commit is contained in:
gtully 2014-09-17 16:14:51 +01:00
parent f19add11de
commit 357d491cbe
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class SharedFileLocker extends AbstractLocker {
while ((!isStopped()) && (!isStopping())) {
try {
lockFile.lock();
locked = true;
locked = keepAlive();
break;
} catch (IOException e) {
LOG.info("Database "