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
Clebert Suconic
9768017530
[maven-release-plugin] prepare release 2.16.0
2020-11-02 17:45:38 -05:00
Clebert Suconic
28919b6ad8
[maven-release-plugin] prepare for next development iteration
2020-10-30 10:16:29 -04:00
Clebert Suconic
af5ca9f1e6
[maven-release-plugin] prepare release 2.16.0
2020-10-30 10:16:17 -04:00
Emmanuel Hugonnet
fdfc58171b
[ARTEMIS-2939]: Artemis should not delete corrupt log files.
...
* Moving corrupted journal files to the attic folder.
Jira: https://issues.apache.org/jira/browse/ARTEMIS-2939
2020-10-20 18:39:06 -04:00
franz1981
a680f7d52e
ARTEMIS-2928 blocking CallbackCache can be replaced with a JCTools lock-free queue
2020-10-06 07:14:24 +02:00
Domenico Francesco Bruscino
32bf9680f2
[maven-release-plugin] prepare for next development iteration
2020-08-24 16:03:24 +02:00
Domenico Francesco Bruscino
a549fcedde
[maven-release-plugin] prepare release 2.15.0
2020-08-24 16:03:12 +02:00
franz1981
a6bf7d0e04
ARTEMIS-2837 Bursts of open files under high load
...
This would prevent to push a new opened file if there
is already one available to be consumed
2020-08-17 13:01:41 -04:00
franz1981
851aef1172
Revert "ARTEMIS-2837 Avoiding bursts on writes and pending callbacks"
...
This reverts commit 1761f763
2020-08-17 13:01:41 -04:00
franz1981
7902dd1757
ARTEMIS-2849 Optimize zeroing of buffers while writing the ASYNCIO journal
2020-07-23 15:44:52 -04:00
Clebert Suconic
6690ba1d24
[maven-release-plugin] prepare for next development iteration
2020-07-09 12:49:08 -04:00
Clebert Suconic
a76f41a7ed
[maven-release-plugin] prepare release 2.14.0
2020-07-09 12:48:54 -04:00
Clebert Suconic
1761f76308
ARTEMIS-2837 Avoiding bursts on writes and pending callbacks
2020-07-08 23:08:27 -04:00
Robbie Gemmell
d2c46762e8
ARTEMIS-2109: fix javadoc errors, remove doclint config for JDK8, remove superfluous plugin versions, update to 3.0.1 javadoc plugin
...
Using 3.0.1 like the current apache parent pom [not being used], and also as newer ones break build.
2020-06-11 18:50:01 +01:00
Emmanuel Hugonnet
efe0f468de
ARTEMIS-2109: Updating the build to be able to execute it on Java 11 and Java 8.
2020-06-11 18:50:01 +01:00
Clebert Suconic
faa83b2ba6
[maven-release-plugin] prepare for next development iteration
2020-05-16 18:38:47 -04:00
Clebert Suconic
5f49d89264
[maven-release-plugin] prepare release 2.13.0
2020-05-16 18:38:34 -04:00
Clebert Suconic
c99fcd501b
[maven-release-plugin] prepare for next development iteration
2020-05-15 16:42:54 -04:00
Clebert Suconic
47fafac760
[maven-release-plugin] prepare release 2.13.0
2020-05-15 16:42:41 -04:00
Francesco Nigro
4e1af3aea3
ARTEMIS-2762 JournalRecord is using too much memory to track JournalFile updates
2020-05-15 09:21:33 -04:00