ARTEMIS-2716 + ARTEMIS-3340 Pluggable Quorum + Sequential activation tracking#3680
ARTEMIS-2716 + ARTEMIS-3340 Pluggable Quorum + Sequential activation tracking#3680franz1981 wants to merge 3 commits intoapache:mainfrom
Conversation
b994449 to
332059c
Compare
|
Some of the test failures are due to Zookeeper URL/port assignment (there must be something happening at random while starting testable ZK server), but nothing that prevent the feature to work: I'm now giving another round of doc/code/test check and this can be ready to be merged 👍 |
|
@franz1981 can you rebase it please? |
c34b348 to
5454fa3
Compare
|
@clebertsuconic running CI again after rebased |
...java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java
Outdated
Show resolved
Hide resolved
...quorum-ri/src/test/java/org/apache/activemq/artemis/quorum/file/FileDistributedLockTest.java
Show resolved
Hide resolved
...src/main/java/org/apache/activemq/artemis/core/server/impl/ReplicationPrimaryActivation.java
Outdated
Show resolved
Hide resolved
3d6a610 to
6dfa0c6
Compare
| return true; | ||
| } else if (threadName.contains("RMI Scheduler")) { | ||
| return true; | ||
| } else if (threadName.contains("RMI RenewClean")) { |
There was a problem hiding this comment.
Are you sure you're not hiding a thread leakage? can't you just stop the RMI Stub on this case?
There was a problem hiding this comment.
Nope, already checked in the first PR on the quorum vote
artemis-quorum-api/src/main/java/org/apache/activemq/artemis/quorum/MutableLong.java
Show resolved
Hide resolved
...orum-ri/src/main/java/org/apache/activemq/artemis/quorum/file/FileBasedPrimitiveManager.java
Show resolved
Hide resolved
...st/java/org/apache/activemq/artemis/tests/smoke/quorum/ZookeeperPluggableQuorumPeerTest.java
Outdated
Show resolved
Hide resolved
7bf07ce to
2bd3f58
Compare
…ication policies + peer Co-authored-by: franz1981 <nigro.fra@gmail.com>
…og output length, try redirecting output to file for now
|
The huge amount of log output generated by zookeeper bits during the tests caused the Travis CI jobs to exceed the allowed log size and abort mid run (e.g https://app.travis-ci.com/github/apache/activemq-artemis/builds/234627453 for the merge). I worked around it by the above commit b8c779c redirecting the output to file, and also 9baa9a4 to stop maven only outputting error details (as that then meant there wasnt output for so long it thought the build died). I would wonder if the amount of output can be reduced though, e.g there are lots of warnings about not finding Jetty that seem like they could be removed one way or another (e.g suppressing them, or adding it). Presumably the many many connection refused etc errors could be harder. |
https://issues.apache.org/jira/browse/ARTEMIS-2716
and
https://issues.apache.org/jira/browse/ARTEMIS-3340