369 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon)
8204181db2 AMQ-9343 - Reduce memory used for in flight transactions
This commit will reduce the memory required in KahaDB for long running
transactions and transactions with a lot of pending message sends by
clearing out the message memory when no longer needed instead of keeping
it tracked in the pending map

(cherry picked from commit a26bf256d17135b5baaff0df64fc5cb51bad1cf8)
2023-10-18 11:51:49 -04:00
Matt Pavlovich
697feeccb0 [AMQ-9258] Update kahadb corruption test to account for new fix from AMQ-9254 (#1007)
(cherry picked from commit cfbea60d6d4f934e7fbe85915183a2f211414b82)
2023-06-29 18:53:41 -04:00
Matt Pavlovich
3d21425d37 [AMQ-9258] Add NPE guards to kahadb test that intermittently fails on slower CI servers (#1006)
(cherry picked from commit 0a042964c8e0d8c5f694728ded6d278810756bc7)
2023-06-29 18:53:38 -04:00
Jean-Baptiste Onofré
53f2b4a0cb [maven-release-plugin] prepare for next development iteration 2023-06-28 13:12:31 +02:00
Jean-Baptiste Onofré
de102ea21d [maven-release-plugin] prepare release activemq-5.17.5 2023-06-28 13:12:20 +02:00
Christopher L. Shannon (cshannon)
6a64a0817e AMQ-9254 - Rework data file size validation and add unit test
This isolates the validation on data file length on read and adds unit
tests to verify we properly fallback to the real file length on initial
size check failure

(cherry picked from commit bcc74f93fe6dbbd5c795c35484db8efa29b254b6)
2023-05-03 06:08:00 -04:00
Matt Pavlovich
053589eb04 [#9254] DataFile readRecord fallback to OS file.length in rare edge case
(cherry picked from commit 3e61a200d07c4f788542e3e0a434e3e7db25cd81)
2023-05-03 06:08:00 -04:00
Jean-Baptiste Onofré
ebab05897a [maven-release-plugin] prepare for next development iteration 2023-02-22 06:36:53 +01:00
Jean-Baptiste Onofré
720570e967 [maven-release-plugin] prepare release activemq-5.17.4 2023-02-22 06:36:43 +01:00
Michał Janczykowski
b1f5d6beb3 [AMQ-9199] reordered imports
(cherry picked from commit 13ec5d5b7ace619e84ff2982da9e80091bb64e66)
2023-02-02 14:44:54 +01:00
Michał Janczykowski
c5ecf53bdc [AMQ-9199] Fixed race condition in creating store directory
A store directory is created by MessageDatabase#getPageFile which
is called in two cases:
1. KahaDBStore.start() when creating a queue
2. KahaDBStore.size() which is performed when sending any persistent message

If both methods are called concurrently it's possible to get an IOException
thrown from the IOHelper.mkdirs method.

(cherry picked from commit 7de7ba2aa92dd1a98f48175fac5a538bd6e8579b)
2023-02-02 14:44:33 +01:00
Christopher L. Shannon (cshannon)
6d91d71c1a AMQ-9202 - Make sure Reentrant locks are acquired outside a try block
This is best practice and will prevent unlock from being attempted
inside of a finally block when the thread doesn't actually own the
lock which can happen when the lock attempt throws an exception
such as calling lockInterruptibly()

(cherry picked from commit ed924cddac90b96bdc47b215852a68155d818bcd)
2023-02-01 11:33:14 -05:00
Jean-Baptiste Onofré
5926eee624 [maven-release-plugin] prepare for next development iteration 2022-11-29 14:49:59 +01:00
Jean-Baptiste Onofré
80a5ee343f [maven-release-plugin] prepare release activemq-5.17.3 2022-11-29 14:49:50 +01:00
Dmytro Chebotarskyi
c35687052a Added additional logging on BrokerService startup
(cherry picked from commit dc55028c00fcb8a4574b7c390d19f85220c1edfe)
2022-11-29 08:02:52 +01:00
Dmytro Chebotarskyi
189a2755a5 [NO JIRA] Removing unused concurrentStoreAndDispatchTransactions variable from KahaDBStore. Cleaning up related unused code.
(cherry picked from commit 73f827f9a6f950248a3f8cc386b7cffddc3ed658)
2022-09-09 07:44:28 +02:00
Jean-Baptiste Onofré
cad3839fe1 [maven-release-plugin] prepare for next development iteration 2022-08-25 09:22:35 +02:00
Jean-Baptiste Onofré
b6ecffe80a [maven-release-plugin] prepare release activemq-5.17.2 2022-08-25 09:22:27 +02:00
Lucas Tétreault
c44008e852 [AMQ-9005] remove xalan dependency due to it being end of life
(cherry picked from commit e550748b4cb2da128a9ea5ac886cc6700f4e9c97)
2022-08-01 06:39:51 +02:00
Jean-Baptiste Onofré
8abb50aa16 [maven-release-plugin] prepare for next development iteration 2022-04-25 14:23:42 +02:00
Jean-Baptiste Onofré
0898aab016 [maven-release-plugin] prepare release activemq-5.17.1 2022-04-25 14:23:33 +02:00
Jean-Baptiste Onofré
bd08484445 [maven-release-plugin] prepare for next development iteration 2022-03-09 21:47:58 +01:00
Jean-Baptiste Onofré
1f3ccad9bb [maven-release-plugin] prepare release activemq-5.17.0 2022-03-09 21:47:47 +01:00
Jean-Baptiste Onofré
a9cb53bd38 Cancel 5.17.0 release 2022-03-09 21:42:04 +01:00
Christopher L. Shannon (cshannon)
482a5e819d AMQ-8530 - Update to geronimo-annotation_1.3_spec
(cherry picked from commit 3d06efe93d8560d7836cc5d1caf42bf6916d1c2b)
2022-03-09 12:54:31 -05:00
Jean-Baptiste Onofré
2582384511 [maven-release-plugin] prepare for next development iteration 2022-03-07 15:41:59 +01:00
Jean-Baptiste Onofré
8ad238bb7d [maven-release-plugin] prepare release activemq-5.17.0 2022-03-07 15:41:49 +01:00
jbonofre
472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Jean-Baptiste Onofré
70e0b3babf
Merge pull request #728 from lucastetreault/scheduler-performance
[AMQ-7340] Improve scheduled message performance
2022-01-19 19:01:26 +01:00
Matt Pavlovich
2e784d07be [AMQ-8341] Remove FTP Blob strategy
- Remove commons-net dependency
2022-01-12 11:05:43 -06:00
Lucas Tétreault
60859b0b7f Use B+ Tree iterator instead of DFS to find scheduled jobs to be executed 2021-11-24 01:06:47 -08:00
Matt Pavlovich
c0d5399635
[AMQ-8285] Add 'slow' metrics to PersistenceAdapterStatistics (#664) 2021-06-04 06:19:54 +02:00
Jean-Baptiste Onofré
ae777e9571
Merge pull request #665 from mattrpav/AMQ-8282
[AMQ-8282] Migrate from deprecated .newInstance() calls to .getConstr…
2021-06-04 06:18:27 +02:00
Colm O hEigeartaigh
7ca7118a95 AMQ-8117 - Allow java.util arrays for deserialization 2021-06-03 14:42:42 +01:00
Matt Pavlovich
950a140455 [AMQ-8282] Migrate from deprecated .newInstance() calls to .getConstructors().newInstance 2021-06-02 08:30:36 -05:00
Matt Pavlovich
2cc17a2fa0 [AMQ-8279] Compiler warning cleanups
- Remove unsused imports (exept for generated classes)
 - Convert to T.valueOf on boxed primitives from new T()
2021-05-25 09:34:35 -05:00
Jonathan Gallimore
edd0515d90 AMQ-8201 Forward commit commands for local transactions as well as XA transactions during ACK compaction 2021-03-25 11:02:53 +00:00
gtully
09389d1ef3 AMQ-8202 - fix concurrency issue on tracking stores in mKahaDB, exposed by virtual topic concurrentSend 2021-03-24 15:55:44 +00:00
jbonofre
cbc1baa07a [AMQ-8097] Deal with deserialization with xstream unmarshal poison ack 2021-01-13 16:13:25 +01:00
jbonofre
43af228f2a Improve stability of KahaDB tests 2020-11-18 09:02:25 +01:00
gtully
72146d2dae AMQ-8040 - ensure state relating to diskbound tmp file pages is preserved on next update, fix and test 2020-09-11 17:04:15 +01:00
Christopher L. Shannon (cshannon)
17defa79d4 NO-JIRA: Update branch to 5.17.0-SNAPSHOT after release 2020-07-14 07:27:43 -04:00
Jean-Baptiste Onofré
334476ac63 [maven-release-plugin] prepare for next development iteration 2020-06-25 07:26:41 +02:00
Jean-Baptiste Onofré
86dd78b1aa [maven-release-plugin] prepare release activemq-5.16.0 2020-06-25 07:26:13 +02:00
Jean-Baptiste Onofré
6908749c2f Fix version 2020-06-25 07:13:04 +02:00
Jean-Baptiste Onofré
ff2dae82f3 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-24 21:56:52 +02:00
jbonofre
4ed2ba22a9 Cancel 5.16.0 release 2020-06-24 15:19:34 +02:00
Jean-Baptiste Onofré
cd1e9f8697 [maven-release-plugin] prepare for next development iteration 2020-06-23 17:40:26 +02:00
Jean-Baptiste Onofré
2e890c6224 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-23 17:39:53 +02:00
Pascal Schumacher
efcca7d062 Fix javadoc warnings related to non-existing parameter names. 2020-05-22 10:49:39 +02:00