Commit Graph

6919 Commits

Author SHA1 Message Date
Justin Bertram 13a593848a ARTEMIS-2566 race condition in concurrent dynamic queue lookup 2019-12-04 20:25:40 -05:00
Clebert Suconic 108ee5d24b NO-JIRA Fixing intermittent failure 2019-12-03 16:25:00 -05:00
Clebert Suconic c699b5ed1d NO-JIRA Fixing intermittent failure 2019-12-03 15:49:58 -05:00
Clebert Suconic 0ce1487252 NO-JIRA Fixing wrong assumption on ClientTestBase 2019-12-03 15:29:34 -05:00
Clebert Suconic 09e3b7b6d5 This closes #2904 2019-12-03 14:24:02 -05:00
Justin Bertram 8614ca1167 ARTEMIS-2564 retryMessages incorrectly removes msgs 2019-12-03 14:24:01 -05:00
Clebert Suconic e86df5a350 This closes #2847 2019-12-03 11:11:03 -05:00
Keith Wall 7bd710520d ARTEMIS-2494: [AMQP] Allow Modified disposition to be used signal address full to a sending peer 2019-12-03 11:05:23 -05:00
Francesco Nigro 92f87feab9 This closes #2907 2019-12-03 16:38:10 +01:00
Clebert Suconic 54e3f167bb ARTEMIS-2560 Re-applying fix on a test properly 2019-12-03 10:20:51 -05:00
Clebert Suconic 3db5ffd40c Reverting change that was performed on a merge commit at 1ba1de4248
During my merging of #2906, I ammended a change by accident on the Close commit,
This is to revert the change and reapply it on a :
2019-12-03 10:12:01 -05:00
Clebert Suconic 77c2451ea4 This closes #2905 2019-12-03 10:02:21 -05:00
Clebert Suconic a302c255cc NO-JIRA fixing tests that will fail eventually for the lack of fsync 2019-12-03 10:02:20 -05:00
Clebert Suconic 1ba1de4248 This closes #2906 2019-12-03 09:59:07 -05:00
Howard Gao 044319da05 ARTEMIS-2560 Duplicate amqp messages over cluster
When AMQPMessages are redistributed from one node to
another, the internal property of message is not
cleaned up and this causes a message to be routed
to a same queue more than once, causing duplicated
messages.
2019-12-03 09:46:28 -05:00
Clebert Suconic 1fe910f8ed This closes #2901 2019-11-26 21:05:01 -05:00
Clebert Suconic 0b1afd35dc ARTEMIS-2421 Using ActiveMQScheduledComponent 2019-11-26 16:15:06 -05:00
Bas Elzinga e12f3ddc6f ARTEMIS-2421 periodic journal lock evaluation
If a broker loses its file lock on the journal and doesn't notice (e.g.
network connection failure to an NFS mount) then it can continue to run
after its backup activates resulting in split-brain.

This commit implements periodic journal lock evaluation so that if a live
server loses its lock it will automatically restart itself.
2019-11-26 11:14:56 -05:00
Clebert Suconic c2c0890178 This closes #2900 2019-11-22 17:04:34 -05:00
Clebert Suconic 506c03a884 ARTEMIS-2559 Clear Transaction out of ResourceManager in case of failure 2019-11-22 10:30:29 -05:00
Clebert Suconic 6c33a48c15 This closes #2894 2019-11-22 10:10:17 -05:00
brusdev 9946d8e63c ARTEMIS-2538 Removing all messages from a huge queue causes OOM
The PageSubscriptionImpl.cleanupEntries could be locked by the queue
depage because they are executed with the same executor and the depage
could be locked by the iterQueue.
If PageSubscriptionImpl.cleanupEntries is locked, no one clean up the
JournalRecord and PagePositionImpl instances created during iterQueue.
So removing all messages from a huge queue, causes the retention of too
JournalRecord and PagePositionImpl instances until an OOM.
To avoid to lock the PageSubscriptionImpl.cleanupEntries the depage is
executed only if the queue isn't iterating.
2019-11-22 10:10:16 -05:00
Clebert Suconic 8969045f92 This closes #2899 2019-11-21 17:53:24 -05:00
Clebert Suconic 91cbbb8698 ARTEMIS-2559 Connection failure should rollback pending XA TX 2019-11-21 17:52:45 -05:00
Christopher L. Shannon (cshannon) 2bf2dba8d3 Merge 'ARTEMIS-2549'
This closes #2892
2019-11-20 10:10:38 -05:00
Christopher L. Shannon (cshannon) fb54707e2d ARTEMIS-2549 - Add Downstream support to Federation
This commit introduces the ability to configure a downstream connection
for federation.  This works by sending information to the remote broker
and that broker will parse the message and create a new upstream back
to the original broker.
2019-11-20 08:47:16 -05:00
Clebert Suconic 153a5d2404 This closes #2896 2019-11-19 21:51:15 -05:00
Andy Taylor 0ab75b9968 ARTEMIS-2554 - Queue control browse broken with large messages
https://issues.apache.org/jira/browse/ARTEMIS-2554
2019-11-18 10:36:18 +00:00
Clebert Suconic 7168cc195b This closes #2891 2019-11-12 10:24:05 -05:00
michael.pearce f6401d81b5 ARTEMIS-2547 fix AMQP Client reconnect fails on broker stop start
Add unit test
Add fix to clear clientids when server is stopped.
2019-11-11 12:33:13 +00:00
Clebert Suconic fe7a842f4e This closes #2887 2019-11-08 13:08:00 -05:00
Justin Bertram 566579f96f NO-JIRA make OpenWire test more robust 2019-11-08 13:08:00 -05:00
Clebert Suconic 2dfb4f06ec This closes #2890 2019-11-08 13:07:08 -05:00
Justin Bertram 200bee1a5f NO-JIRA make a few AMQP tests more robust 2019-11-08 13:07:08 -05:00
Clebert Suconic 7a8234cd07 This closes #2886 2019-11-08 09:26:13 -05:00
sebthom 54daa445ed ARTEMIS-2541 Improve message browser of Admin UI 2019-11-08 12:31:50 +01:00
Clebert Suconic 111b9cc84d This closes #2871 2019-11-06 09:57:43 -05:00
Justin Bertram c9f5608ef9 NO-JIRA improve transformer docs 2019-11-06 09:57:42 -05:00
Clebert Suconic f61d12cc04 This closes #2884 2019-11-06 09:56:55 -05:00
Sebastian Thomschke a1266e63f9
NO-JIRA Fix indention in browser.js 2019-11-06 13:50:33 +01:00
Clebert Suconic b733ea4c79 This closes #2883 2019-11-05 20:02:51 -05:00
sebthom 318c26cde7 ARTEMIS-2540 Display LargeMessage column in message browser of admin UI 2019-11-05 20:02:51 -05:00
Clebert Suconic 2e31e04bb4 This closes #2868 2019-11-05 17:01:41 -05:00
brusdev f680d9f712 ARTEMIS-2466 PageSyncTimer::timeSync isn't configurable using ASYNCIO
Add the config parameter `page-sync-timeout` to set a customized value,
because if the broker is configured to use ASYNCIO journal, the timeout
has the same value of NIO default journal buffer timeout ie 3333333.
2019-11-05 22:44:52 +01:00
Clebert Suconic c8a165eeb6 This closes #2880 2019-11-05 16:06:48 -05:00
Justin Bertram 4a4442ed56 NO-JIRA checkstyle upgrade 2019-11-05 16:06:48 -05:00
Clebert Suconic 367f18bee3 This closes #2878 2019-11-05 16:05:28 -05:00
brusdev 83e2595618 ARTEMIS-2534 Deleting addresses auto created on configuration reload
Skip the deletion of address's and queue's auto created on configuration
reload.
2019-11-05 16:05:27 -05:00
Clebert Suconic 8c7f120e0a This closes #2881 2019-11-05 16:04:08 -05:00
brusdev 55a55daa7b ARTEMIS-2538 Removing all messages from a huge queue causes OOM
The iterQueue transaction commits are locked by the synchronization
context. So removing all messages from a huge queue causes the creation
of too locked transactions for the paged messages and so OOM.
The iteration on paged message is executed out the iterQueue
synchronization context to avoid to lock the transaction commits.
2019-11-05 16:04:08 -05:00