osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2287: ARTEMIS-2069 Backup doesn't activate af...


Github user TomasHofman commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2287#discussion_r240293147
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/FileLockNodeManager.java ---
    @@ -49,6 +49,8 @@
     
        private static final byte NOT_STARTED = 'N';
     
    +   private static final long LOCK_ACCESS_FAILURE_WAIT_TIME = 2000;
    --- End diff --
    
    @clebertsuconic no, the `lockAcquisitionTimeout` is not ignored.
    
    If you check the line 337, actual waiting time is either `LOCK_ACCESS_FAILURE_WAIT_TIME` or time remaining until `lockAcquisitionTimeout` runs out, whichever is lower, so acquisition timeout set by user is honored.


---