This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git.
from 3c3b7b6 This closes #3237
new df2f48a NO-JIRA update RandomUtil.randomInterval to deal with
(max==min)
new 9842f45 ARTEMIS-2867 Do not cache IPs on DNS Entries for
NetworkHealthCheck
new 27cb9b3 ARTEMIS-2868 Protect Topology Updates from Split Brain
new f7bc2f7 This closes #3232
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../artemis/core/server/NetworkHealthCheck.java | 66 ++++--
.../apache/activemq/artemis/utils/RandomUtil.java | 3 +
.../activemq/artemis/utils/NetworkHealthTest.java | 3 +-
.../activemq/artemis/utils/network/NetUtil.java | 8 +-
.../core/client/impl/ServerLocatorImpl.java | 4 +
.../artemis/core/client/impl/Topology.java | 12 ++
...ctiveMQXAResource.java => TopologyManager.java} | 8 +-
.../core/management/impl/AbstractControl.java | 2 +-
.../protocol/core/impl/CoreProtocolManager.java | 1 +
.../artemis/core/server/ActiveMQServerLogger.java | 6 +
.../artemis/core/server/cluster/BackupManager.java | 9 +
.../core/server/cluster/ClusterConnection.java | 7 +
.../server/cluster/impl/ClusterConnectionImpl.java | 36 +++-
.../core/server/impl/ActiveMQServerImpl.java | 11 +-
.../core/server/impl/LiveOnlyActivation.java | 2 +-
.../server/impl/SharedNothingBackupActivation.java | 33 +--
.../server/impl/SharedNothingLiveActivation.java | 3 +-
.../server/impl/SharedStoreBackupActivation.java | 2 +-
.../server/impl/SharedStoreLiveActivation.java | 2 +-
.../cluster/failover/NetworkIsolationTest.java | 11 +-
tests/smoke-tests/pom.xml | 42 ++++
.../broker.xml | 10 +-
.../management.xml | 0
.../servers/dnsswitch-replicated-backup/broker.xml | 6 +-
.../broker.xml | 4 +-
.../broker.xml | 14 +-
.../management.xml | 0
.../servers/dnsswitch-replicated-main/broker.xml | 4 +-
.../tests/smoke/dnsswitch/DNSSwitchTest.java | 240 ++++++++++++++++-----
.../tests/unit/core/util/RandomUtilTest.java | 25 ++-
30 files changed, 432 insertions(+), 142 deletions(-)
copy
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/{ActiveMQXAResource.java
=> TopologyManager.java} (87%)
copy tests/smoke-tests/src/main/resources/servers/{dnsswitch-replicated-backup
=> dnsswitch-replicated-backup-withping}/broker.xml (94%)
copy tests/smoke-tests/src/main/resources/servers/{replicated-failback-master2
=> dnsswitch-replicated-backup-withping}/management.xml (100%)
copy
tests/smoke-tests/src/main/resources/servers/{dnsswitch-replicated-main-noretrydns
=> dnsswitch-replicated-main-withping}/broker.xml (93%)
copy tests/smoke-tests/src/main/resources/servers/{replicated-failback-master1
=> dnsswitch-replicated-main-withping}/management.xml (100%)
copy
artemis-service-extensions/src/test/java/org/apache/activemq/artemis/service/extensions/tests/transactions/TransactionManagerLocatorTest.java
=>
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/util/RandomUtilTest.java
(61%)