Justin Bertram
f05b63b8a1
[maven-release-plugin] prepare release 2.30.0
2023-07-20 14:36:44 -05:00
Justin Bertram
cce565e78f
ARTEMIS-4353 clean up Maven dependencies
...
This commit contains the following changes:
- eliminate used, undeclared dependencies
- eliminate unused, declared dependencies
- fix scope for test dependencies
- eliminate org.hamcrest completely as its use involved deprecated code
as well as dependencies from multiple versions
2023-07-14 14:03:41 +01:00
Robbie Gemmell
44b1027b38
ARTEMIS-4340: ThreadLocalByteBufferPool should clear position+limit before zeroing buffer
2023-07-07 12:41:14 -04:00
Clebert Suconic
ae554b43db
[maven-release-plugin] prepare for next development iteration
2023-06-14 18:20:58 -04:00
Clebert Suconic
2be5c54cd0
[maven-release-plugin] prepare release 2.29.0
2023-06-14 18:20:45 -04:00
Clebert Suconic
6e36be67ae
ARTEMIS-4302 Renaming JournalTransactionForget as JournalTransactionForgetTest
...
Renaming JournalTransactionForgetTest so it is picked by maven plugin test filter.
As I'm fixing JournalTransactionForget test I also found an older test in the same situation and I'm fixing that one as well
2023-06-07 10:38:34 -04:00
Clebert Suconic
7c46b303b1
ARTEMIS-4302 NPE on JournalTransaction::forget
2023-06-02 07:08:50 -07:00
clebert
c5be8b72c1
ARTEMIS-4298 and ARTEMIS-4215 Fixing duplicated entries on historyFiles on journalRetention during a replication
...
This is Fixing BackupSyncJournalTest::testReplicationDuringSync
ARTEMIS-4215 introduced a failure on the testsuite.
However the failure is non related to the Buffer itself. it introduced a race that unveiled ARTEMIS-4298.
2023-05-31 11:58:56 -07:00
a181321
747e0bd1e4
ARTEMIS-4215 JournalFlush might never happen when journal-sync-* is false
2023-05-26 14:29:20 -04:00
Clebert Suconic
03afbedfe3
ARTEMIS-4282 Large Header may break the broker
2023-05-17 16:04:54 -07:00
Clebert Suconic
3671829993
ARTEMIS-4191 Adding debug statements around reclaiming and compacting
2023-05-16 15:09:50 -07:00
Clebert Suconic
de7920d68a
ARTEMIS-4191 Adding logger.debug on JournalImpl::needsCompact
2023-03-02 10:00:41 -05:00
Clebert Suconic
9e524d978d
ARTEMIS-4175 JournalFileImpl Leaking
...
I am now removing the negatives once the file is removed or reused
2023-02-28 13:54:03 -05:00
Clebert Suconic
2378d187af
[maven-release-plugin] prepare for next development iteration
2023-01-31 07:22:48 -05:00
Clebert Suconic
893e1e7916
[maven-release-plugin] prepare release 2.28.0
2023-01-31 07:22:47 -05:00
Clebert Suconic
af9bd7b84a
ARTEMIS-4065 Optimize page counters to not use the journal as often
...
- From now on we will save snapshots of page-counters on the journal (basically for compatibility with previous verions).
And we will recount the records on startup.
- While the rebuild is being done the value from the previous snapshot is still available with current updates.
2022-12-15 10:30:18 -05:00
Clebert Suconic
44cec5976c
NO-JIRA releaseBufferMemory just in case
...
This is just to make releaseBuffer to have the same semantic when no pool is used.
This has no effect on how the broker behaves as we always have it pooled.
2022-12-08 13:50:32 -05:00
Robbie Gemmell
f790911c44
ARTEMIS-4110: insert standard ASF licence header comment in various cases, such as to replace a javadoc header
2022-12-07 10:21:25 +00:00
Justin Bertram
dce4ba3c1a
[maven-release-plugin] prepare for next development iteration
2022-11-08 13:17:38 -06:00
Justin Bertram
1fd6cb6239
[maven-release-plugin] prepare release 2.27.0
2022-11-08 12:46:20 -06:00
Clebert Suconic
9056ac1cc7
ARTEMIS-4074 Diagnostic involving FileRepository pushOpen not responding fast enough
2022-10-26 18:23:36 -04:00
Clebert Suconic
5a1dfdeb10
ARTEMIS-4041 Fixing tests on CriticalIOException
2022-10-14 10:33:36 -04:00
Clebert Suconic
7b2f7e1707
ARTEMIS-4041 Fixing NPE on SequentialFileFactory after the CriticalIO change
2022-10-12 17:03:13 -04:00
Clebert Suconic
49d33470f9
ARTEMIS-4041 Improve critical IO reporting
2022-10-12 10:50:33 -04:00
Timothy Bish
617269319a
ARTEMIS-4020: Remove string appends and various isXEnabled logger checks (add some where useful)
...
Logger statements should use formatting syntax and let the normal framework checks take care of
checking if a logger is enabled instead of string concats and isXEnabled logger checks except
in cases there is known expense to the specifc logging message/arg preparation or passing.
Changes from myself and Robbie Gemmell.
Co-authored-by: Robbie Gemmell <robbie@apache.org>
2022-10-07 15:40:53 -04:00
Clebert Suconic
12cc70c5bf
ARTEMIS-4020 Using a little trick to create the Loggers
...
Trick provided by Tim Bish
2022-09-29 17:46:51 -04:00
Robbie Gemmell
9873fccf74
ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests
...
PR includes work from myself and Clebert Suconic, squashed from the new-logging branch.
2022-09-28 14:01:54 -04:00
Clebert Suconic
5d8e7fe829
[maven-release-plugin] prepare for next development iteration
2022-09-21 13:00:47 -04:00
Clebert Suconic
2d7b1a3ef7
[maven-release-plugin] prepare release 2.26.0
2022-09-21 13:00:46 -04:00
Clebert Suconic
4ad830fb95
Bumping artemis as 3.0
...
After removing ActiveMQ Artemis rest (per ARTEMIS-3987), we should start promoting Artemis as 3.0
2022-09-12 15:09:31 -04:00
Clebert Suconic
11eab60584
[maven-release-plugin] prepare for next development iteration
2022-08-30 18:04:06 -04:00
Clebert Suconic
fb1b362b47
[maven-release-plugin] prepare release 2.25.0
2022-08-30 18:04:05 -04:00
Clebert Suconic
fa002728f2
[maven-release-plugin] prepare for next development iteration
2022-07-26 11:59:21 -04:00
Clebert Suconic
897d9beaef
[maven-release-plugin] prepare release 2.24.0
2022-07-26 11:59:19 -04:00
Clebert Suconic
79daf49105
[maven-release-plugin] prepare for next development iteration
2022-07-21 17:44:35 -04:00
Clebert Suconic
cc4867ccba
[maven-release-plugin] prepare release 2.24.0
2022-07-21 17:44:33 -04:00
iliya
d90179b99c
ARTEMIS-3815 proper retry through IOCompletion when message not found on target queue on Mirror
...
co-authored Clebert Suconic
2022-06-30 17:37:27 -04:00
Clebert Suconic
3e4013d8ca
ARTEMIS-3868 Journal compactor split improvement
...
The condition fixed on this commit should not really happen in production
as the compacting counts should always be ordered (records that were compacted earelier will always be at the top of the journal).
However it highlights an improvement that could be done on the journal compacting.
2022-06-27 14:36:36 -04:00
Clebert Suconic
0fab0dae91
[maven-release-plugin] prepare for next development iteration
2022-06-07 12:39:09 -04:00
Clebert Suconic
224ca0d4d7
[maven-release-plugin] prepare release 2.23.0
2022-06-07 12:39:07 -04:00
Clebert Suconic
57fa8b8271
[maven-release-plugin] prepare for next development iteration
2022-04-27 17:26:46 -04:00
Clebert Suconic
1a49845628
[maven-release-plugin] prepare release 2.22.0
2022-04-27 17:26:45 -04:00
Clebert Suconic
a0e7cb4eae
[maven-release-plugin] prepare for next development iteration
2022-03-22 13:34:58 -04:00
Clebert Suconic
d57ac487c7
[maven-release-plugin] prepare release 2.21.0
2022-03-22 13:34:55 -04:00
Clebert Suconic
e949e3843b
ARTEMIS-3701 Do no block libaio on compacting or closing
...
I am adding a test showing it is safe to not wait pending callbacks before closing a file.
With this I can just close the file and let the kernel to deal with sending the completions.
2022-03-04 10:43:06 -05:00
Clebert Suconic
293b96aa45
ARTEMIS-3697 Adding test assertion on invalid IO on Paging
...
This commit is part of a bigger task where I am improving paging.
This test is needed to validate some of the changes I am making on further commits.
2022-02-25 14:34:44 -05:00
Robbie Gemmell
8661cecb8f
ARTEMIS-3655: isolate the errorprone dependencies to its profiles, enable everywhere, fix related problems, and update to 2.10.
2022-01-26 16:32:34 +00:00
franz1981
52fcc0c81b
ARTEMIS-3620 Journal blocking delete/update record with no sync
2022-01-13 15:35:57 -05:00
Clebert Suconic
e34677f5c0
[maven-release-plugin] prepare for next development iteration
2021-12-14 22:50:55 -05:00
Clebert Suconic
3dea7eeb71
[maven-release-plugin] prepare release 2.20.0
2021-12-14 22:50:53 -05:00
Domenico Francesco Bruscino
3f7f8c0ecd
ARTEMIS-3576 Fix toString methods throwing exceptions
2021-12-03 13:15:44 -05:00
Clebert Suconic
12a93e3c7e
Revert "ARTEMIS-3576 Fix toString methods throwing exceptions"
...
This reverts commit fcd512f9de
.
this will be re-applied after fixing the build and tests
2021-11-29 13:21:24 -05:00
Domenico Francesco Bruscino
fcd512f9de
ARTEMIS-3576 Fix toString methods throwing exceptions
2021-11-29 12:02:58 -05:00
Clebert Suconic
8b3663e827
ARTEMIS-3538 Removing a few extra // ----- structural comments
2021-11-02 21:45:09 -04:00
Asukwo-comfort
923e4cc892
ARTEMIS-3538: Removing // --------- comments from the codebase
2021-11-02 21:44:12 -04:00
Justin Bertram
402842062a
[maven-release-plugin] prepare for next development iteration
2021-10-11 13:35:57 -05:00
Justin Bertram
5fcb763234
[maven-release-plugin] prepare release 2.19.0
2021-10-11 13:35:06 -05:00
Clebert Suconic
ef63dc95bb
ARTEMIS-3513 Compacting exception invalidates deletes and updates
2021-10-05 11:44:24 -04:00
Clebert Suconic
4d2fd89882
ARTEMIS-3436 Journal Replay operation
2021-08-24 19:07:15 -04:00
Clebert Suconic
ed4c915d50
ARTEMIS-3434 Fixing Journal Retention Wrong month
2021-08-20 11:22:33 -04:00
Clebert Suconic
b8c64590f9
[maven-release-plugin] prepare for next development iteration
2021-08-09 11:58:28 -04:00
Clebert Suconic
37cc298973
[maven-release-plugin] prepare release 2.18.0
2021-08-09 11:58:27 -04:00
Clebert Suconic
cc4a51a3ea
[maven-release-plugin] prepare for next development iteration
2021-08-06 17:04:18 -04:00
Clebert Suconic
0b30187091
[maven-release-plugin] prepare release 2.18.0
2021-08-06 17:04:16 -04:00
Clebert Suconic
0e2ce484ba
[maven-release-plugin] prepare for next development iteration
2021-08-06 13:46:56 -04:00
Clebert Suconic
cb705b5c5c
[maven-release-plugin] prepare release 2.18.0
2021-08-06 13:46:54 -04:00
Clebert Suconic
000f83dbc2
ARTEMIS-3327 Reverting 5c051e9832
and adding test to validate
...
contract with sync.
This reverts commit 5c051e9832
.
However this is adding two tests to make sure there won't be a regression on this.
2021-07-07 18:46:52 -04:00
franz1981
ff6e1572c4
ARTEMIS-3354 Better doc journal-max-io misuse with ASYNCIO
2021-07-07 12:17:36 -04:00
franz1981
bb3f31340d
ARTEMIS-3354 journal-max-io cannot be set to 1 with ASYNCIO journal
2021-07-07 12:17:36 -04:00
Clebert Suconic
5c051e9832
ARTEMIS-3327 Removing unecessary block operation on journal append record
2021-07-06 14:59:33 -05:00
Clebert Suconic
05498c350e
ARTEMIS-3261 Remove need to lookup replaceableRecords on the hot path
...
We known it's a replaceable record as part of the logic, no need to lookup the record type unless it's a reload from the system.
2021-06-09 14:52:06 -04:00
Clebert Suconic
0edf599adc
ARTEMIS-3261 Updating logic to use only replaceable records on compacting verification
2021-06-07 13:05:02 -04:00
Clebert Suconic
cfd032799c
ARTEMIS-3327 removing unecessary blocking operations on update and delete records
2021-06-03 10:37:16 -04:00
Clebert Suconic
24c6d904b9
ARTEMIS-3324 JournalFilesRepository running out of open files while compacting
2021-06-01 16:36:51 -04:00
Clebert Suconic
27c343913f
ARTEMIS-3297 Journal Retention Feature
2021-05-18 16:29:18 -04:00
Clebert Suconic
67d47274a1
NO-JIRA removing runDirectJournalBlast
2021-05-12 09:51:56 -04:00
Clebert Suconic
b0f8f515c5
ARTEMIS-3273 Recover tool and PrintData enhancements
2021-04-30 18:41:05 -04:00
Clebert Suconic
d2676e77f8
ARTEMIS-3271 Improve Critical Analyzer to use AutoCloseable on the API
2021-04-30 12:46:15 -04:00
Clebert Suconic
42405fedcf
ARTEMIS-3261 Expanding verification to journal compacting counters
...
After testing a production outage situation I still encountered issues on deciding the journal should be compacted.
This is addressing these issues.
2021-04-26 16:45:17 -04:00
Clebert Suconic
62395dcd44
ARTEMIS-3261 Fixing tests and allowing configuration to reload data files on start
2021-04-24 21:30:56 -04:00
Clebert Suconic
1392cb5f0b
ARTEMIS-3261 Enhance compact to deal with Rollbacks and update records that can be replaced
2021-04-23 15:17:06 -04:00
Clebert Suconic
2a28a5d42f
NO-JIRA Fixing typo on log trace
2021-04-22 15:04:48 -04:00
Clebert Suconic
21ee5985ea
[maven-release-plugin] prepare for next development iteration
2021-02-11 12:00:04 -05:00
Clebert Suconic
36a771150b
[maven-release-plugin] prepare release 2.17.0
2021-02-11 11:59:51 -05:00
Clebert Suconic
c0867f0361
[maven-release-plugin] prepare for next development iteration
2021-02-09 12:12:48 -05:00
Clebert Suconic
9b473698e0
[maven-release-plugin] prepare release 2.17.0
2021-02-09 12:12:35 -05:00
Clebert Suconic
6ed1e4c87d
[maven-release-plugin] prepare for next development iteration
2021-02-08 15:56:31 -05:00
Clebert Suconic
06b29806ca
[maven-release-plugin] prepare release 2.17.0
2021-02-08 15:56:18 -05:00
Justin Bertram
b4f8aada3c
ARTEMIS-3092 inconsistent JDBC config logging
2021-02-04 15:32:51 -05:00
Clebert Suconic
c47122ea15
ARTEMIS-3084 Avoid pending IO to close files
2021-02-03 16:56:07 -05:00
Clebert Suconic
755947ee0b
ARTEMIS-3084 Deal with async close and double close
...
Since the libaio.close is now async
there might be a situation with more than one close called during a server.stop();
This should deal with that scenario
2021-02-01 15:29:39 -05:00
Clebert Suconic
03b0fcd2c2
ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes
2021-01-29 13:24:57 -05:00
Clebert Suconic
b05bea7db9
ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes
2021-01-29 12:44:34 -05:00
Clebert Suconic
7ce5315d7a
ARTEMIS-3084 Fix on checkstyle
...
sorry for breaking it in the first place.
I messed up into some gitfu sending an older version by accident.
2021-01-29 10:50:47 -05:00
Clebert Suconic
873c2bcc18
ARTEMIS-3084 Avoiding Race condition on async close
2021-01-29 10:44:55 -05:00
Clebert Suconic
4b5c29939c
ARTEMIS-3084 Fixing intermittent failures on testsuite. file.close() should block
...
This fixed a failure I saw once at GroupingFailoverReplicationTest.testGroupingLocalHandlerFailsMultipleGroups
2021-01-28 14:24:12 -05:00
Clebert Suconic
03f8f83935
ARTEMIS-3084 Small tweak. Log a Thread dump if a server.stop cannot get a completion of pending closes
2021-01-28 11:31:58 -05:00
Clebert Suconic
c019218c4e
ARTEMIS-3084 Eliminate Block on moving to next file on libaio
2021-01-28 11:10:40 -05:00
Tomas Hofman
b1835fa2d8
ARTEMIS-3037 JournalImpl#checkKnownRecordID() implementation can leave a thread hanging in WAITING state
2020-12-18 12:44:18 -05:00
Clebert Suconic
4e7bb97df7
[maven-release-plugin] prepare for next development iteration
2020-11-02 17:45:51 -05:00