You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by franz1981 <gi...@git.apache.org> on 2018/03/21 16:19:09 UTC

[GitHub] activemq-artemis pull request #1962: ARTEMIS-1760 JDBC HA should have config...

GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1962

    ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment

    It allows a user to customize the max allowed distance between system and DB time, improving HA reliability by shutting down the broker when the misalignment exceeds configured limit.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis db2_and_clock_fixes

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1962.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1962
    
----
commit e795c8c74f8fdb53ccaf73e1f0ccf2767a2574c0
Author: Francesco Nigro <ni...@...>
Date:   2018-03-21T11:08:01Z

    ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
    
    It allows a user to customize the max allowed distance between system and DB time, improving HA reliability by shutting down the broker when the misalignment exceeds configured limit.

----


---

[GitHub] activemq-artemis pull request #1962: ARTEMIS-1760 JDBC HA should have config...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/1962


---

[GitHub] activemq-artemis issue #1962: ARTEMIS-1760 JDBC HA should have configurable ...

Posted by franz1981 <gi...@git.apache.org>.
Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1962
  
    @clebertsuconic If I have missed anything on CLI level, please correct me so I will fix it ASAP :+1: 


---

[GitHub] activemq-artemis issue #1962: ARTEMIS-1760 JDBC HA should have configurable ...

Posted by franz1981 <gi...@git.apache.org>.
Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1962
  
    @gtully  I hope to have provided a good way to handle it: it is quite different from what [LeaseDatabaseLocker](https://github.com/apache/activemq/blob/master/activemq-jdbc-store/src/main/java/org/apache/activemq/store/jdbc/LeaseDatabaseLocker.java#L143) does, because instead of correcting just the exceeding misalignment, validates (and fix) it on startup by shutting down the broker if necessary.
    It is assuming the integrity of clocks alignment after the broker startup.


---

[GitHub] activemq-artemis issue #1962: ARTEMIS-1760 JDBC HA should have configurable ...

Posted by clebertsuconic <gi...@git.apache.org>.
Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1962
  
    @franz1981  rebase please...
    
    also update the first long line on the commit?


---