Commit Graph

6404 Commits

Author SHA1 Message Date
Howard Gao 375f383e90 NO-JIRA Avoid NPE during backup shutdown
When a backup starts without a live, it's nodeID is null.
Added a null check in ClusterConnection's stop() to avoid
NPE if it's shut down.
2019-04-02 11:21:14 -04:00
Clebert Suconic 54cfeed918 This closes #2595 2019-04-02 11:10:11 -04:00
Justin Bertram d2dc04c712 ARTEMIS-2288 add remote IP to handshake timeout error 2019-04-02 11:10:11 -04:00
Clebert Suconic 02c0283dcb This closes #2599 2019-04-02 11:09:19 -04:00
Jiří Daněk eb177fde90 NO-JIRA Fixing markdown format in intercepting-operations.md
Both the old and new versions render OK on GitHub, but on
https://activemq.apache.org/artemis/docs/latest/intercepting-operations.html
the old version was not parsed correctly, as can be now seen.
2019-04-02 11:09:19 -04:00
Clebert Suconic 4af2fe4be5 This closes #2601 2019-04-02 11:05:00 -04:00
Howard Gao a68c661944 NO-JIRA Fix test ReplicatedAsynchronousFailoverTest.testTransactional
Fix random failures.
2019-04-02 11:05:00 -04:00
Clebert Suconic 71ec3c6d3d This closes #2602 2019-04-02 10:24:54 -04:00
Michael André Pearce c4fce10fac ARTEMIS-2292 - Fix queue level auto-delete for topic subscription queue 2019-04-02 10:24:27 -04:00
Howard Gao 279f65586d This closes #2600 2019-04-02 14:14:21 +08:00
Justin Bertram 304ff79712 ARTEMIS-2289 SUBSCRIBE w/receipt returns 2 receipt-ids 2019-04-02 14:13:25 +08:00
Justin Bertram 8ca4b66e1d This closes #2591 2019-04-01 09:47:42 -05:00
Francesco Nigro ac4cd4856c ARTEMIS-2283 Bad WARN message "AMQ222211: Storage is back to stable now"
LocalMonitor::under on PagingManagerImpl won't log anymore with a
warning message if the producers got unblocked and with info
if disk it getting freed
2019-04-01 09:47:42 -05:00
Justin Bertram b62e081a7d This closes #2598 2019-04-01 09:43:43 -05:00
Francesco Nigro dc1cfa3536 ARTEMIS-2290 JMSBridgeImpl::stop is failing when called from FailureHandler 2019-04-01 09:43:43 -05:00
Justin Bertram affb6a4cc4 This closes #2597 2019-04-01 09:23:16 -05:00
Francesco Nigro 34c8ed2adb ARTEMIS-2291 ClassCastException on JMSBridgeImpl::stop leaks bridge resources 2019-04-01 09:23:15 -05:00
Michael Andre Pearce 82fe0e5894 This closes #2590 2019-03-27 17:02:06 +00:00
Francesco Nigro 0263d45a35 ARTEMIS-2282 QueueImpl::addTail of a management message could throw NPE
Performing direct deliveries of management messages could enter
a code path on QueueImpl::addTail with a NULL pageIterator: performing
a null check will avoid it to throw NPE.
2019-03-27 17:02:06 +00:00
Michael Andre Pearce 022223d383 This closes #2593 2019-03-27 17:00:28 +00:00
Francesco Nigro 38493e3d17 ARTEMIS-2264 Added test that receive all messages instead of remove 2019-03-27 17:00:27 +00:00
Robbie Gemmell 6bc2d2e741 INFRA-17991: trivial change, testing repo after adjustments 2019-03-26 12:23:20 +00:00
Howard Gao 5bd5c61019 This closes #2587 2019-03-21 18:47:41 +08:00
Zuzana Schwarzova 9fbd86c18a ARTEMIS-2280 Add new test for moving message to FQQN 2019-03-21 10:53:13 +01:00
Clebert Suconic 41c0c17504 This closes #2586 2019-03-18 11:14:09 -04:00
Howard Gao 6099742ca0 NO-JIRA Fix FailoverTest#testForceBlockingReturn
The test may fail if the live crashes too soon and the
message is directly sent to backup and the expected
blocking send will never happen.
To fix that a wait is added to ensure the message
is sent to the live (and intercepted) before
crashing the live.
2019-03-18 11:54:42 +08:00
Clebert Suconic 64944e0375 This closes #2585 2019-03-15 10:09:30 -04:00
Howard Gao 70e3888910 NO-JIRA Fix QueueImplTest#testRoundRobinWithQueueing
This test fails occasionally because the queue's delivering thread
may interference with the consumer's iterator during consumers adding.
The result is that the first of the 2 consumers may get iterated
twice and therefore the messages received by the 2 consumers are
not even.

Tha change puts the message add after the consumer add so that
the delivering thread only kicks off after consumers are all added
and messages should be evenly distributed to both consumers.
2019-03-15 12:06:56 +08:00
Clebert Suconic fc556c98ee NO-JIRA Extra tests upgrade on pom 2019-03-14 14:46:29 -04:00
Clebert Suconic 516b1a1b9f [maven-release-plugin] prepare for next development iteration 2019-03-14 12:41:04 -04:00
Clebert Suconic c3eb6c12ad [maven-release-plugin] prepare release 2.7.0 2019-03-14 12:40:52 -04:00
Clebert Suconic 4bfeaf89c5 This closes #2579 2019-03-14 12:24:59 -04:00
Howard Gao fb549ebe44 ARTEMIS-2273 Adding Audit Log
The Audit log allows user to log some important actions,
such as ones performed via management APIs or clients,
like queue management, sending messages, etc.
The log tries to record who (the user if any) doing what
(like deleting a queue) with arguments (if any) and timestamps.

By default the audit log is disabled. Through configuration can
be easily turned on.
2019-03-14 12:24:59 -04:00
Clebert Suconic 9a2de3e932 This closes #2584 2019-03-14 12:10:36 -04:00
Emmanuel Hugonnet 824e0b6e7e NO-JIRA Adding tests over JMSBridge statistics 2019-03-14 12:10:35 -04:00
Clebert Suconic 6536b4238c This closes #2558 2019-03-14 12:09:53 -04:00
yang wei 59c966902c ARTEMIS-2257 Synchronize SharedEventLoopGroup shutdownGracefully 2019-03-14 12:09:52 -04:00
Clebert Suconic 3b3a8c2f65 This closes #2583 2019-03-13 23:58:04 -04:00
Howard Gao 9f7d23c36c ARTEMIS-2229 turns out a valid bug. So restore the fix commit.
this was reverted previously on commit f4436a9f72.

It seems it is ok after further changes into FQQN, so this is being reapplied
2019-03-13 15:56:01 -04:00
Clebert Suconic e217f9ab6c NO-JIRA More general test fixes 2019-03-13 15:26:48 -04:00
Clebert Suconic 3a3be57fd3 This closes #2581 2019-03-13 15:03:52 -04:00
Clebert Suconic 828a4856da ARTEMIS-2274 Fix on Journal buffer overflow with almost large messages 2019-03-13 14:56:46 -04:00
yb b672cc3ad9 ARTEMIS-2274 Test showing issue with Message overflowing buffer when sizes are too close to TimedBuffer size 2019-03-13 14:56:33 -04:00
Clebert Suconic 3ccf6a8be9 This closes #2582 2019-03-13 13:47:53 -04:00
Francesco Nigro 79ca203d6d Revert "ARTEMIS-2240 ActiveMQThreadPoolExecutor should use LinkedTransferQueue"
This reverts commit ea29483449
2019-03-13 13:47:19 -04:00
Clebert Suconic 5a74b8b34d NO-JIRA fixing test failures 2019-03-13 11:36:29 -04:00
Clebert Suconic 3473618a06 NO-JIRA fixing another test
test failing: org.apache.activemq.artemis.tests.integration.management.AddressControlTest.testSendMessage
2019-03-12 20:21:20 -04:00
Clebert Suconic 564b75d66f NO-JIRA fixing test 2019-03-12 20:19:07 -04:00
Clebert Suconic 193103d9af NO-JIRA Test Fixes after latest changes 2019-03-12 20:11:20 -04:00
Clebert Suconic 596b9eea23 ARTEMIS-2211 fixing checkstyle 2019-03-12 19:58:34 -04:00