325 Commits

Author SHA1 Message Date
gtully
6ff79d85aa AMQ-7225 - fix intermittent failure, avoid gc of partial tx pending commit
(cherry picked from commit 28a0cc6e5a78adb4b0b0134c860911c921f6a074)
2019-06-14 10:34:24 -04:00
gtully
ef0ec42885 AMQ-7225 - defer cleanup task operation till recovery processing complete, track prepared location in recovered ops to ensure they are retained on recovery failure. Fix and test
(cherry picked from commit 93e726d6a7ba9ed44f5440369f8f9f1b41f49373)
2019-06-14 10:34:12 -04:00
gtully
996081ec2d AMQ-7227 - ensure db.free file is moved in scheduler store upgrade process
(cherry picked from commit 4d5e41ca284d884d0372b489dfa082e8f5d88cb0)
2019-06-14 10:33:35 -04:00
Alan Protasio
34a235b256 AMQ-7221 - Delete Scheduled messages causes ActiveMQ create/write a unnecessary huge transaction file
(cherry picked from commit 5eb8403b1f77f1583942c59447b2514b4eda9b9c)
2019-06-11 07:53:23 -04:00
Alan Protasio
66e6e13553 AMQ-7196 - During startup ActiveMq load all the scheduleDB.data on memory causing OOM
(cherry picked from commit b56819123b21af1df001cb2a10e77ba88a3b3c95)
2019-05-13 07:37:03 -04:00
Christopher L. Shannon (cshannon)
0ce931f72d [maven-release-plugin] prepare for next development iteration 2019-03-15 07:56:41 -04:00
Christopher L. Shannon (cshannon)
855ba82071 [maven-release-plugin] prepare release activemq-5.15.9 2019-03-15 07:55:55 -04:00
Alan Protasio
1c5083880a AMQ-7159 - Adding a new attribute on PersistenceAdapterViewMBean to show information about Storage write/read latency
(cherry picked from commit 87467dc61e747670bce9c27424a9d93aad8b8499)
2019-03-12 06:24:47 -04:00
Alan Protasio
83d9bd827a AMQ-7163 - If the broker had an unclean shutdown and number of free pages is Zero after the recovery, the next shutdown will also be 'unclean'
(cherry picked from commit cd1d5eb785a759d285652551f1984ce9877a1192)
2019-03-07 08:15:26 -05:00
Alan Protasio
0a93863c0b AMQ-7143 - Temporary transaction file (PageFile) being opened and closed many times, causing poor performance on high latency FS as NFS
(cherry picked from commit 9e6543551731ef0241967ca545c9a4956876cb86)
2019-01-31 10:34:23 -05:00
Christopher L. Shannon (cshannon)
64d8538b49 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

(cherry picked from commit c3714457f11633231a6e925f09028686db04e423)
2019-01-15 14:24:41 -05:00
Christopher L. Shannon (cshannon)
5acd9303a5 AMQ-7129 - code cleanup
(cherry picked from commit a16b227808bec2977f1d3323bf29257b3c8ca9f6)
2019-01-11 10:32:28 -05:00
Christopher L. Shannon (cshannon)
0b88dabb40 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

(cherry picked from commit fa2daa25e9acd3f37bb1ee0d37717d2383e67a85)
2019-01-11 09:57:44 -05:00
Christopher L. Shannon (cshannon)
24b5944ecb 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

(cherry picked from commit 25de20c77ec0bf6cdc699cac2ad50e34ec707453)
2019-01-11 06:40:59 -05:00
jgoodyear
9845853b68 [AMQ-7126] Improvement to perf of 5266Test 2019-01-07 21:21:05 -03:30
jgoodyear
2ed15d563c [AMQ-7126] Prevent OOM when recovering KahaDB and memory space is insufficient to load full page 2019-01-03 15:41:17 -03:30
jgoodyear
d816b738af AMQ-7118 This closes #327 - with thanks to Heath Kesler 2018-12-04 12:51:02 -03:30
Christopher L. Shannon (cshannon)
85b33b3768 [maven-release-plugin] prepare for next development iteration 2018-11-14 12:33:50 -05:00
Christopher L. Shannon (cshannon)
bcad7e1f6a [maven-release-plugin] prepare release activemq-5.15.8 2018-11-14 12:33:08 -05:00
gtully
deb87353c4 AMQ-7084 - ensure allocated and unused free pages are visible to subsequent transactions, fix and test with test updates to reflect proper usage
(cherry picked from commit 8a1abd9bb2744de70af11053f1755116c40ec55f)
2018-11-14 10:29:31 -05:00
Alan Protasio
71ce081157 AMQ-7091 - O(n) Memory consumption when broker has inactive durable subscribes causing OOM
(cherry picked from commit 9012a7871b77da6ecdc403f6b44ef0221345bfb7)
2018-11-12 18:01:50 -03:30
gtully
ca6293b55c 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

(cherry picked from commit 85859fd8dc22e3251de294c23d84c12b29d4fe81)
2018-11-07 12:44:29 -05:00
Christopher L. Shannon (cshannon)
505200b92a AMQ-7082 - fix compilation after merge 2018-11-06 09:42:58 -05:00
Alan Protasio
45d7676bd9 AMQ-7082 - Make sure that the recovery will only mark pages as free if they were created in a previous execution
(cherry picked from commit 0d34338919edee863bd71693ee30999d9d9d6ce9)
2018-11-06 08:26:21 -05:00
Christopher L. Shannon
c988a145a1 [maven-release-plugin] prepare for next development iteration 2018-10-24 10:20:19 -04:00
Christopher L. Shannon
795a2533b1 [maven-release-plugin] prepare release activemq-5.15.7 2018-10-24 10:19:40 -04:00
gtully
a9b81ace62 AMQ-7082 - ensure flush sees free list, use lazySet to avoid store barrier, thanks cshannon 2018-10-22 08:45:52 -06:00
gtully
c6103415b9 AMQ-7082 - recover index free pages in parallel with start, merge in flush, clean shutdown if complete. follow up on AMQ-6590 2018-10-21 11:23:19 -06:00
gtully
f7ff4c25e1 AMQ-7067 - track xa commit outcomes in ack compaction such that there are no dangling prepared tx on full recovery, fix and test 2018-10-17 11:34:46 -06:00
gtully
cee7f014fa AMQ-6590 - rework fix to take the recovery hit on clean shutdown rather than on restart, trade off availability for short term disk usage 2018-10-17 08:21:05 -06:00
gtully
29fbeb511f AMQ-7067 - ensure updates to ackMessageFileMap are protected by the index lock
(cherry picked from commit a311139bfe2f2b3ffc0c84cfb1e9cec0c11830c7)
2018-10-10 10:23:29 -04:00
gtully
7fa85185aa AMQ-7067 - tidy up tests and add prepare variant, limit rollback location recording to xa case. There is still some work to do for the ack compaction case to make it aware of the tx records such that those are transferred as necessary
(cherry picked from commit 57c7939534a927bfc2d1b0454aac7ef8d804532b)
2018-10-10 10:23:21 -04:00
jgoodyear
cbe486fb9d KahaDB Recovery can experience a dangling transaction when prepare and commit occur on different pagefiles.
Signed-off-by: gtully <gary.tully@gmail.com>
(cherry picked from commit 99db9ef301c8e8a7156d5c5a71875958f412792a)
2018-10-10 10:23:16 -04:00
Alan Protasio
d2572ceaee AMQ-7055 - Optimization on SequenceSet to prevent iterating through the whole set when a value bigger than the last value is added
Signed-off-by: gtully <gary.tully@gmail.com>
(cherry picked from commit 8f88dcda09760df3aba3306f49a3311fb22a654f)
2018-09-20 06:28:53 -04:00
gtully
77784061c5 AMQ-5875 - fix test regression in MultiKahaDBQueueDeletionTest
(cherry picked from commit 4c972d97b95ea521493db5def6869eab663e5f64)
2018-09-19 10:25:55 +01:00
Christopher L. Shannon (cshannon)
241b1562ab [maven-release-plugin] prepare for next development iteration 2018-09-04 07:45:21 -04:00
Christopher L. Shannon (cshannon)
cf6aa9427a [maven-release-plugin] prepare release activemq-5.15.6 2018-09-04 07:43:25 -04:00
Christopher L. Shannon (cshannon)
d1746e4ade [maven-release-plugin] prepare for next development iteration 2018-08-06 08:07:34 -04:00
Christopher L. Shannon (cshannon)
22ace04639 [maven-release-plugin] prepare release activemq-5.15.5 2018-08-06 08:06:32 -04:00
Christopher L. Shannon (cshannon)
02d5287af8 Revert "[maven-release-plugin] prepare release activemq-5.15.5"
This reverts commit e411ed4af0fbbae3706c5941f6c84a5722d40361.
2018-08-06 07:35:54 -04:00
Christopher L. Shannon (cshannon)
34f94d0047 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit dcb7be955925140999238cf27ec5663d6875714a.
2018-08-06 07:35:46 -04:00
Christopher L. Shannon (cshannon)
dcb7be9559 [maven-release-plugin] prepare for next development iteration 2018-08-02 09:53:48 -04:00
Christopher L. Shannon (cshannon)
e411ed4af0 [maven-release-plugin] prepare release activemq-5.15.5 2018-08-02 09:53:02 -04:00
Christopher L. Shannon (cshannon)
a8b2fa1a06 Revert "[maven-release-plugin] prepare release activemq-5.15.5"
This reverts commit 688c290110416f04b2a3251f9747a7f16e83329d.
2018-08-01 13:24:52 -04:00
Christopher L. Shannon (cshannon)
4b3d8063e8 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 7d2c69d0ccef33ce6d5c6a411badbd5543a992ef.
2018-08-01 13:24:46 -04:00
Christopher L. Shannon (cshannon)
7d2c69d0cc [maven-release-plugin] prepare for next development iteration 2018-07-31 08:51:31 -04:00
Christopher L. Shannon (cshannon)
688c290110 [maven-release-plugin] prepare release activemq-5.15.5 2018-07-31 08:49:37 -04:00
Jeff Genender
2a2e01df6a AMQ-7015 - Changed attribute to purgeRecoveredXATransactionStrategy and
allow NEVER, COMMIT, and ROLLBACK
2018-07-25 12:52:49 -06:00
hkesler
ce7498c971 AMQ-7015 Added a purgeRecoveredXATransactions property on the KahaDB adaptor to purge prepared XA messages on recovery 2018-07-19 11:53:04 -06:00
Christopher L. Shannon (cshannon)
ea1894c7ee [maven-release-plugin] prepare for next development iteration 2018-05-17 13:58:54 -04:00