mirror of https://github.com/apache/activemq.git
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:
parent
f19add11de
commit
357d491cbe
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue