Commit Graph

10136 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) daea192eef AMQ-7085 - Properly start TempUsage inside Queue start
This fix allows temp usage changes to the broker temp usage to propagate
properly to a Queue's temp usage settings

Patch applied with thanks to David Sitsky
2019-01-17 07:58:36 -05:00
Christopher L. Shannon (cshannon) 9fba7ec352 AMQ-7132 - update RecoveryStatsBrokerTest back to using always journal sync but a smaller journal size and less test messages to speed up test 2019-01-16 13:52:52 -05:00
Jean-Baptiste Onofré ad6df3ca5a
Merge pull request #338 from coheigea/loginmodules
[AMQ-7137] Implement abort() properly in the LoginModules. Also fix a bug in Lda…
2019-01-16 17:14:13 +01:00
Colm O hEigeartaigh 042cad9e93 AMQ-7137 - Implement abort() properly in the LoginModules. Also fix a bug in LdapLoginModule relating to Logout 2019-01-16 14:12:35 +00:00
Christopher L. Shannon (cshannon) ae357564b4 AMQ-7132 - user periodic fsync in RecoveryStatsBrokerTest to improve performance 2019-01-16 06:28:47 -05:00
Christopher L. Shannon (cshannon) c3714457f1 AMQ-7136 - Improve recovery of durable subscription metrics in KahaDB
Updated metrics recovery to only have to iterate over the order index 1
time to recovery the pending metrics for the subscriptions instead of
making a pass over the index once per subscription
2019-01-15 14:22:26 -05:00
hkesler 5c23dd53ad AMQ7135 : do a purge before deleting the destination
(cherry picked from commit 9f513f8878)
2019-01-14 13:44:52 -03:30
Christopher L. Shannon (cshannon) 03ce997ff2 Merge branch 'AMQ-7132'
This closes #336

Thanks to Alan Protasio for the patch
2019-01-14 10:54:33 -05:00
Alan Protasio 4b51f8b66c AMQ-7132 - ActiveMQ reads lots of index pages upon startup (after a graceful or ungraceful shutdown) 2019-01-14 10:54:26 -05:00
avi5kdon b10458e2c6 AMQ-7125 Broker does not send error frame when an empty destination is sent with a stomp subscribe frame 2019-01-14 15:31:43 +00:00
Christopher L. Shannon (cshannon) a16b227808 AMQ-7129 - code cleanup 2019-01-11 10:31:44 -05:00
Christopher L. Shannon (cshannon) fa2daa25e9 AMQ-7129 - fix durable message size statistics with individual ack
Make sure that the pending message size for a durable sub only includes
messages part of the ack range
2019-01-11 09:56:57 -05:00
Jean-Baptiste Onofré d29c1be66a Update scm section 2019-01-11 15:24:42 +01:00
Christopher L. Shannon (cshannon) 703b8cbda3 AMQ-7129 - minor junit test fix 2019-01-09 14:39:11 -05:00
Christopher L. Shannon (cshannon) 25de20c77e AMQ-7129 - Properly recover messages from KahaDB for a durable when there are
messages to recover before the stored lastAck value

With individual ack mode we need to check the durable ackPosition
sequence set in the KahaDB index on subsription load to see if there are
earlier messages before the lastAck value that still haven't been acked.
While this normally wouldn't happen it is possible in individual ack
mode
2019-01-09 14:34:06 -05:00
Timothy Bish 49296f9259 AMQ-7097 Update Qpid JMS and Netty to latest
Qpid JMS to v0.40.0
Netty to 4.1.32.Final
2019-01-09 11:03:34 -05:00
jgoodyear 4a21edc8d5 [AMQ-7126] Improvement to perf of 5266Test 2019-01-07 21:22:34 -03:30
Jeff Genender 273afef47c AMQ-7118 - Override hostname for naming to allow tests to apss on all
platforms
2019-01-07 17:07:08 -07:00
jgoodyear b86c666c40 [AMQ-7126] Prevent OOM when recovering KahaDB and memory space is insufficient to load full page. Thank you Heath Kesler and Johan Edstrom for investigation and patch. 2019-01-03 15:46:39 -03:30
Timothy Bish 66db4e94bb AMQ-7097 Update Qpid JMS and proton-j to laetst
Qpid JMS 0.39.0 and proton-j 0.31.0 released
2018-12-04 11:52:36 -05:00
jgoodyear 612d4aeeb4 AMQ-7118 This closes #327 - with thanks to Heath Kesler 2018-12-04 12:54:30 -03:30
gtully 6d4459a00c AMQ-7115 - ensure transport error handling is a one shot for a connection - avoid contention and possible dead lock - fix and test 2018-11-28 14:27:59 +00:00
Jean-Baptiste Onofré 097f82a246 [AMQ-7076] This closes #320 2018-11-22 17:07:20 +01:00
Jean-Baptiste Onofré 57e38509e5 [AMQ-7076] Does not define spring-legacy repository by default in ActiveMQ Karaf features repo, and let the user add it 2018-11-22 16:07:51 +01:00
Jean-Baptiste Onofré 112c4e602f This closes #321 2018-11-22 14:41:08 +01:00
Colm O hEigeartaigh a87b61e8be Enable secure processing on all DocumentBuilderFactory.newInstance() 2018-11-22 10:24:43 +00:00
gtully 8cc0c5ad6c AMQ-7106 - fix pending stop support by avoiding sync through single shared status var - fix and test 2018-11-21 10:23:13 +00:00
Timothy Bish d020af2034 AMQ-7097 Update AMQP dependencies to latest
Update Qpid JMS, Proton-J and Netty to the latest release.
2018-11-16 13:24:42 -05:00
gtully 9cb680c0ba AMQ-7102 - don't track objectNames that have not been registered due to suppressMBean filter, fix and test 2018-11-15 17:45:18 +00:00
Christopher L. Shannon (cshannon) 50d1fe9f8e NO-JIRA: Add 5.15.8 schema version 2018-11-14 10:01:03 -05:00
gtully bc8c78cd32 AMQ-7009 - apply fix to memorymessagestore setBatch with thanks to Nezih BEN FREDJ for test and suggestion 2018-11-14 14:21:27 +00:00
jgoodyear bc13deb533 This closes #315 - with thanks to Alan Protasio 2018-11-12 17:53:18 -03:30
Alan Protasio 9012a7871b AMQ-7091 - O(n) Memory consumption when broker has inactive durable subscribes causing OOM 2018-11-12 17:48:53 -03:30
jgoodyear 98dc99e984 Small change to verify repo access. 2018-11-12 17:31:43 -03:30
gtully d2b0affedb AMQ-7094 - track the objectName with an annotated mbean such that the jmx audit log event can extract that target of an mbean operation, fix and test 2018-11-08 12:10:01 +00:00
gtully 85859fd8dc AMQ-7082 We should make sure that pages managed during recovery are not recovered in error
variation of patch from Alan Protasio <alanprot@gmail.com> closes #317
2018-11-07 11:29:14 +00:00
Christopher L. Shannon (cshannon) 81062fde88 Merge branch 'AMQ-7082'
This closes #316

Thanks to Alan Protasio for the patch
2018-11-06 08:24:38 -05:00
Alan Protasio 0d34338919 AMQ-7082 - Make sure that the recovery will only mark pages as free if they were created in a previous execution 2018-11-06 04:48:22 -08:00
gtully 82dec402aa no-jira - fix intermittent test failure when cron falls on next minute 2018-11-05 16:33:34 +00:00
gtully f2cde24a62 AMQ-7088 - fix deadlock on remove add interaction from mqtt virtual topic sub use case 2018-11-01 10:11:08 +00:00
gtully bf8eb08aca AMQ-7086 - make kahadb gc/cleanup on shutdown optional to trade availability over disk usage for fast failover 2018-10-31 14:29:05 +00:00
Christopher L. Shannon e093a8c1d8 NO-JIRA - add missing license headers 2018-10-24 09:01:39 -04:00
Christopher L. Shannon 8e5d539665 AMQ-7067 - add missing license header 2018-10-24 08:55:35 -04:00
Christopher L. Shannon 144808c6e1 NO-JIRA: Add schemas for 5.15.7
(cherry picked from commit 030974f5bf)
2018-10-24 08:46:35 -04:00
gtully 8a1abd9bb2 AMQ-7084 - ensure allocated and unused free pages are visible to subsequent transactions, fix and test with test updates to reflect proper usage 2018-10-23 16:00:57 +01:00
gtully fb1e642c15 AMQ-7082 - ensure flush sees free list, use lazySet to avoid store barrier, thanks cshannon 2018-10-22 15:16:26 +01:00
gtully 87087fc930 no-jira - fix flaky test that depends on the broker processing the previous ack 2018-10-22 11:50:54 +01:00
gtully 0e02b678d1 no-jira - fix flaky test that can get redelivery on async client ack and concurrent close 2018-10-22 11:21:42 +01:00
gtully efa4e683bc AMQ-7082 - fix final ref in test 2018-10-19 16:45:04 +01:00
gtully 79c74998dc AMQ-7082 - recover index free pages in parallel with start, merge in flush, clean shutdown if complete. follow up on AMQ-6590 2018-10-19 16:00:23 +01:00