git.net

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

[GitHub] activemq-artemis pull request #2089: ARTEMIS-1866: Make wait time for reply ...


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

    https://github.com/apache/activemq-artemis/pull/2089#discussion_r188589019
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/SharedNothingBackupQuorum.java ---
    @@ -297,7 +300,7 @@ private boolean isLiveDown() {
                 quorumManager.vote(quorumVote);
     
                 try {
    -               quorumVote.await(LATCH_TIMEOUT, TimeUnit.SECONDS);
    +               quorumVote.await(quorumVoteWait, TimeUnit.SECONDS);
                 } catch (InterruptedException interruption) {
                    // No-op. The best the quorum can do now is to return the latest number it has
    --- End diff --
    
    The await method has already logged on entry. I have added the log in the catch block.


---



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-activemq-developers/msg08468.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0007363704{main}( ).../msg08468.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-activemq-developers/msg08468.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0007363704{main}( ).../msg08468.html:0