Clebert Suconic
c8982d775b
[maven-release-plugin] prepare for next development iteration
2017-09-05 17:03:48 -04:00
Clebert Suconic
84d5ac65b4
[maven-release-plugin] prepare release 2.3.0
2017-09-05 17:03:37 -04:00
Clebert Suconic
ed1b268d42
[maven-release-plugin] prepare for next development iteration
2017-08-31 13:48:09 -04:00
Clebert Suconic
21f2a4a52c
[maven-release-plugin] prepare release 2.3.0
2017-08-31 13:47:57 -04:00
Martyn Taylor
652573a5a9
ARTEMIS-1354 Critical IO Error on AIO write failure
2017-08-17 12:29:13 -04:00
Michael André Pearce
684dd24cc7
ARTEMIS-1335 Update Netty to 4.1.14
...
Update Netty to 4.1.14
2017-08-09 15:20:49 -04:00
Clebert Suconic
1ace306121
ARTEMIS-1328 Improving direct delivery check
...
Instead of wait to flush an executor,
I have added a method isFlushed() which will just translate to the
state on the OrderedExecutor.
In the case another executor is provided (for tests) there's a delegate
into normal executors.
2017-08-08 14:00:58 -04:00
Francesco Nigro
74f243cc4d
ARTEMIS-1312 TimedBuffer doubled timeout with blocking flush
2017-08-01 11:52:28 -04:00
Francesco Nigro
567bfe3b9b
ARTEMIS-1312 TimedBuffer doubled timeout with blocking flush
2017-08-01 06:34:25 -04:00
Clebert Suconic
fdad83be22
[maven-release-plugin] prepare for next development iteration
2017-07-24 21:21:18 -04:00
Clebert Suconic
71b1cc2a20
[maven-release-plugin] prepare release 2.2.0
2017-07-24 21:21:06 -04:00
Clebert Suconic
ad372ec98e
ARTEMIS-1294 Using older sleep on TimedBuffer
...
And also adding test
2017-07-18 16:01:51 -04:00
Francesco Nigro
3dc9566fb6
ARTEMIS-1294 Reverted TimedBuffer timeout policy
2017-07-18 10:23:02 -04:00
Clebert Suconic
31d5758885
ARTEMIS-1288 crash during compact control files issues
...
The system would become irresponsive if crashed right at the
control file writing.
2017-07-13 17:12:58 -04:00
Clebert Suconic
7fd17f407f
ARTEMIS-1269 Simple Actor to replace certain executions
...
This is replacing an executor on ServerSessionPacketHandler
by a this actor.
This is to avoid creating a new runnable per packet received.
Instead of creating new Runnable, this will use a single static runnable
and the packet will be send by a message, which will be treated by a listener.
Look at ServerSessionPacketHandler on this commit for more information on how it works.
2017-07-11 14:22:36 -04:00
Clebert Suconic
89e84e1320
ARTEMIS-1269 Fixing blocked replication
...
If replication blocked anything on the journal
the processing from clients would be blocked
and nothing would work.
As part of this fix I am using an executor on ServerSessionPacketHandler
which will also scale better as the reader from Netty would be feed immediately.
2017-07-06 19:04:48 -04:00
Francesco Nigro
7075e2e457
ARTEMIS-1266 Mapped Journal refactoring
...
The MAPPED journal refactoring include:
- simplified lifecycle and logic (eg fixed file size with single mmap memory region)
- supports for the TimedBuffer to coalesce msyncs (via Decorator pattern)
- TLAB pooling of direct ByteBuffer like the NIO journal
- remove of old benchmarks and benchmark dependencies
2017-06-30 16:17:19 +02:00
Francesco Nigro
9f8a14440b
ARTEMIS-1223 OutOfDirectMemoryError raised from TimedBuffer
...
Force allocation of direct ByteBuffer with Cleaner to help GC on tests.
2017-06-27 12:45:26 -04:00
Andy Taylor
fbe27682a1
ARTEMIS-1237 - Hard coded timeout on Journal file open
...
Make timeout configurable
https://issues.apache.org/jira/browse/ARTEMIS-1237
2017-06-22 10:48:09 -04:00
Jiri Danek
3d4e907a1b
NO-JIRA fix typos
2017-06-21 11:16:29 -04:00
Michael Andre Pearce
c65ea783ea
ARTEMIS-1189 - Fix checkstyle violations post checkstyle upgrade
...
After upgrade of checkstyle, resolve violations
remove checkstyle override added as temp measure at point of upgrade forced by sevntu
2017-05-30 13:40:00 -04:00
Clebert Suconic
dc26ac96b4
ARTEMIS-1156: moving our collections on its own package
2017-05-12 10:06:05 -04:00
Michael André Pearce
c1d55aa84f
ARTEMIS-1156: FIX: Long Autoboxing occurring on Hot Path
...
Building on ARTEMIS-905 JCtools ConcurrentMap replacement first proposed but currently parked by @franz1981, replace the collections with primitive key concurrent collections to avoid auto boxing.
The goal of this is to reduce/remove autoboxing on the hot path.
We are just adding jctools to the broker (should not be in client dependencies)
Like wise targeting specific use case with specific implementation rather than a blanket replace all.
Using collections from Bookkeeper, reduces outside tlab allocation, on resizing compared to JCTools, which occurs frequently on testing.
2017-05-12 10:05:51 -04:00
Clebert Suconic
ce61d20f5a
[maven-release-plugin] prepare for next development iteration
2017-05-08 15:20:12 -04:00
Clebert Suconic
64e8f015ee
[maven-release-plugin] prepare release 2.1.0
2017-05-08 15:20:01 -04:00
Francesco Nigro
21c9ed85cf
ARTEMIS-1151 Adapting TimedBuffer and NIO Buffer Pooling
...
- NIO/ASYNCIO new TimedBuffer with adapting batch window heuristic
- NIO/ASYNCIO improved TimedBuffer write monitoring with
lightweight concurrent performance counters
- NIO/ASYNCIO journal/paging operations benefit from less buffer copy
- NIO/ASYNCIO any buffer copy is always performed with raw batch copy
using SIMD instrinsics (System::arrayCopy) or memcpy under the hood
- NIO improved clear buffers using SIMD instrinsics (Arrays::fill) and/or memset
- NIO journal operation perform by default TLABs allocation pooling (off heap)
retaining only the last max sized buffer
- NIO improved file copy operations using zero-copy FileChannel::transfertTo
- NIO improved zeroing using pooled single OS page buffer to clean the file
+ pwrite (on Linux)
- NIO deterministic release of unpooled direct buffers to avoid OOM errors
due to slow GC
- Exposed OS PAGE SIZE value using Env class
2017-05-08 11:55:28 -04:00
Clebert Suconic
36c9659279
[maven-release-plugin] prepare for next development iteration
2017-05-05 22:11:09 -04:00
Clebert Suconic
7b5082639f
[maven-release-plugin] prepare release 2.1.0
2017-05-05 22:10:58 -04:00
Francesco Nigro
2cdc62572b
ARTEMIS-1136 Improve UnpooledUnsafeDirectByteBufWrapper
2017-05-01 10:09:33 -04:00
Clebert Suconic
0a0955d0cc
ARTEMIS-1117 Improving IO Resilience Part II
...
https://issues.apache.org/jira/browse/ARTEMIS-1117
2017-04-18 11:34:09 -04:00
Francesco Nigro
23ba3e27d9
ARTEMIS-1117 Improving IO Failure resilience Part I
...
Me (Clebert) and Francesco worked independently here.
I am keeping Francesco's changes on a separate commit
https://issues.apache.org/jira/browse/ARTEMIS-1117
2017-04-18 11:34:09 -04:00
Clebert Suconic
ee261e736c
ARTEMIS-1114 Improving some comment
2017-04-14 18:08:37 -04:00
Clebert Suconic
ddacda5062
ARTEMIS-1114 Missing records after compacting
...
This is fixing an issue introduced on 4b47461f03
(ARTEMIS-822)
The Transactions were being looked up without the readLock and some of the controls for Read and Write lock
were broken after this.
2017-04-14 01:13:46 -04:00
Clebert Suconic
75a4162a36
NO-JIRA: logger on Exception
2017-03-14 09:50:19 -04:00
Martyn Taylor
c40823e5ec
[maven-release-plugin] prepare for next development iteration
2017-03-10 14:54:33 +00:00
Martyn Taylor
70e319d6e3
[maven-release-plugin] prepare release 2.0.0
2017-03-10 14:52:26 +00:00
Martyn Taylor
f1a5f1caf9
Revert "[maven-release-plugin] prepare release 2.0.0"
...
This reverts commit 057047499b
.
2017-03-10 14:45:29 +00:00
Martyn Taylor
1964abe567
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 9a52f51c9f
.
2017-03-10 14:44:58 +00:00
Martyn Taylor
9a52f51c9f
[maven-release-plugin] prepare for next development iteration
2017-03-10 11:36:36 +00:00
Martyn Taylor
057047499b
[maven-release-plugin] prepare release 2.0.0
2017-03-10 11:25:47 +00:00
Clebert Suconic
fe0ca4d84f
ARTEMIS-1009 Pure Message Encoding.
...
with this we could send and receive message in their raw format,
without requiring conversions to Core.
- MessageImpl and ServerMessage are removed as part of this
- AMQPMessage and CoreMessage will have the specialized message format for each protocol
- The protocol manager is now responsible to send the message
- The message will provide an encoder for journal and paging
2017-03-05 23:08:53 -05:00
Jiri Danek
a7a0535afa
NO-JIRA Fixing typos in log messages, test names and comments
...
Related to ARTEMIS-387 (fowardingAddress)
2017-02-20 20:54:45 -05:00
Clebert Suconic
c60c92697f
ARTEMIS-937 no sync on AIO shouldn't use O_DIRECT
2017-02-03 11:47:28 -05:00
Francesco Nigro
aacddfda61
ARTEMIS-906 Memory Mapped JournalType
2017-02-03 09:04:57 -05:00
Clebert Suconic
ce035a8084
ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs
2017-02-03 09:04:56 -05:00
Martyn Taylor
6682072da6
Major Version Bump 2.0.0 After Major Arch Change
2016-12-09 18:43:15 +00:00
Martyn Taylor
89e6ec36bb
ARTEMIS-780 Implement MaxConsumers and DeleteOnNoConsumers
2016-12-09 18:43:15 +00:00
Clebert Suconic
ebbc91c728
[maven-release-plugin] prepare for next development iteration
2016-12-06 16:59:52 -05:00
Clebert Suconic
5bcbea2517
[maven-release-plugin] prepare release 1.5.1
2016-12-06 09:47:43 -05:00
Dmitrii Tikhomirov
3995319dca
ARTEMIS-865 Remove e.printStackTrace() from code
2016-11-23 11:15:54 -05:00
Clebert Suconic
f2db1c4337
[maven-release-plugin] prepare for next development iteration
2016-11-03 15:35:05 -04:00
Clebert Suconic
13a8a2bd40
[maven-release-plugin] prepare release 1.5.0
2016-11-03 15:34:54 -04:00
Clebert Suconic
5e5ac0f057
ARTEMIS-832 Openwire was ignoring data syncs.
...
I'm also adding the possibility of sync on libaio, and not only relay on write-cache
2016-11-02 13:17:12 -05:00
Clebert Suconic
7eadff7681
ARTEMIS-822 Injecting IO Pools into and from ArtemisServerImpl
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-31 11:34:27 -04:00
Clebert Suconic
6afde8f45a
ARTEMIS-822 Review journal threading model
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
barreiro
4b47461f03
ARTEMIS-822 Add executor service to JournalImpl for append operations and remove synchronization
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
Ravi Soni
b4924ce73b
ARTEMIS-831 avoid shutting down the server after interrupted threads on
...
divert (copy and rename)
probably introduced at ARTEMIS-322
2016-10-28 16:28:57 -04:00
Ville Skyttä
ddd1559fbe
javadoc: Fix doclint empty <p> warnings
2016-10-10 10:02:49 +02:00
Clebert Suconic
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Clebert Suconic
f8278ec99c
ARTEMIS-727 Improving Thread usage on JDBC
...
https://issues.apache.org/jira/browse/ARTEMIS-727
2016-09-12 14:32:40 -04:00
Clebert Suconic
505b732843
[maven-release-plugin] prepare for next development iteration
2016-09-06 12:17:31 -04:00
Clebert Suconic
b305e231ec
[maven-release-plugin] prepare release 1.4.0
2016-09-06 12:17:08 -04:00
Ville Skyttä
d5242978d5
for and while loop to foreach conversions
2016-08-25 14:22:32 -04:00
Clebert Suconic
a3840c23c3
[maven-release-plugin] prepare for next development iteration
2016-08-16 11:59:55 -04:00
Clebert Suconic
d38ef19bf6
[maven-release-plugin] prepare release 1.4.0
2016-08-16 11:59:36 -04:00
Ville Skyttä
429e1e84d4
Remove unnecessary casts
2016-07-28 18:12:59 +03:00
Ville Skyttä
39edf958a1
Add missing @Override annotations
2016-07-19 16:09:12 +01:00
Francesco Nigro
36555a10c5
ARTEMIS-623/ARTEMIS-622 Added memory mapped impl of Sequential File + benchs.
...
Added experimental GCFree Journal impl + benchs + Sequentially Encoded Aligned Binary Protocol.
https://issues.apache.org/jira/browse/ARTEMIS-622
https://issues.apache.org/jira/browse/ARTEMIS-623
2016-07-11 13:36:47 -04:00
barreiro
b8d6a374a0
More changes on the reclaimer for better performance
2016-07-05 23:28:00 -04:00
Ville Skyttä
3923ae45f4
Fix checkstyle redundant modifier violations
2016-06-13 20:03:54 +03:00
Martyn Taylor
9ae39f663f
[maven-release-plugin] prepare for next development iteration
2016-06-09 12:52:56 +01:00
Martyn Taylor
221039e353
[maven-release-plugin] prepare release 1.3.0
2016-06-09 12:49:13 +01:00
Martyn Taylor
319439ab27
[maven-release-plugin] prepare for next development iteration
2016-06-09 12:25:19 +01:00
Martyn Taylor
2c5ab446be
[maven-release-plugin] prepare release 1.3.0
2016-06-09 12:24:48 +01:00
Martyn Taylor
4a07091718
[maven-release-plugin] prepare for next development iteration
2016-06-09 11:25:03 +01:00
Martyn Taylor
93cf7b4b9b
[maven-release-plugin] prepare release 1.3.0
2016-06-09 11:23:03 +01:00
Martyn Taylor
4574b3ee13
[maven-release-plugin] prepare for next development iteration
2016-06-08 11:03:35 +01:00
Martyn Taylor
2b3d22c5cc
[maven-release-plugin] prepare release 1.3.0
2016-06-08 11:02:14 +01:00
barreiro
3f131fc594
Rework journal reclaimer
2016-05-23 18:25:23 -04:00
Martyn Taylor
c9b953433e
ARTEMIS-513 Add JDBC Sequential File Factory Impl
2016-05-04 12:24:25 +01:00
Clebert Suconic
7bebe507cf
Individualizing loggers on journal
2016-04-28 14:37:23 -04:00
Clebert Suconic
e81fa5c359
ARTEMIS-490 Fixing LargeMessage copy through replication
...
this will fix cases like DLQ and Diverts
2016-04-19 15:00:09 +01:00
Clebert Suconic
d6c7e30594
ARTEMIS-484 Large Message Loss on Initial replication
...
https://issues.apache.org/jira/browse/ARTEMIS-484
The File copy after the initial synchronization on large messages was broken.
On this commit we fix how the buffer is cleaned up before each read since
a previously unfinished body read would make the buffer dirty.
I'm keeping also lots of Traces I have added to debug this issue, so they will
be useful if anything like this happens again.
2016-04-14 18:55:01 -04:00
Dominik Pospisil
078d38bc37
[ARTEMIS-444] Extend AIOSequentialFileFactory to check underlying FS
2016-04-04 12:23:36 -04:00
jbertram
e64ecf5523
ARTEMIS-422 support appendRollbackRecord
2016-02-25 13:31:19 -06:00
Ville Skyttä
3f20e0d19a
Remove redundant type parameters
2016-01-25 12:10:25 -05:00
Clebert Suconic
928ec603aa
Removing invalid System.exit
2016-01-23 16:42:37 -05:00
Clebert Suconic
85a2c191cf
ARTEMIS-353 retrying after interrupts on the native layer because of jmap issuing weird interrupts
...
https://issues.apache.org/jira/browse/ARTEMIS-353
2016-01-20 17:50:56 -05:00
Martyn Taylor
4922a7618a
Bump to next version to 1.3.0-SNAPSHOT
2016-01-20 17:25:07 +00:00
Tom Jenkinson
7b164e45c3
ARTEMIS-351 throw an exception if we get an IOException
2016-01-19 13:02:57 -05:00
Martyn Taylor
9b351d8236
ARTEMIS-27 / ARTEMIS-338 Refactor Journal Encodings into new package
2016-01-13 09:38:08 -05:00
Clebert Suconic
7820fd6d60
ARTEMIS-332 avoid shutting down the server after interrupted threads on paging
2016-01-07 16:08:38 -05:00
Clebert Suconic
96849a42b7
ARTEMIS-332 - Duplicate delivery over Bridges under OME scenarios, paging and other failures
...
https://issues.apache.org/jira/browse/ARTEMIS-332
2016-01-04 20:49:28 -05:00
Martyn Taylor
2c430e597b
[maven-release-plugin] prepare for next development iteration
2016-01-04 11:50:36 +00:00
Martyn Taylor
f182c806b6
[maven-release-plugin] prepare release 1.2.0
2016-01-04 11:49:58 +00:00
Martyn Taylor
5f32e6575c
[maven-release-plugin] prepare for next development iteration
2016-01-04 09:24:34 +00:00
Martyn Taylor
150c5d87aa
[maven-release-plugin] prepare release 1.2.0
2016-01-04 09:19:35 +00:00
Martyn Taylor
90c9469701
[maven-release-plugin] prepare for next development iteration
2015-12-17 17:03:40 +00:00
Martyn Taylor
df61224d2d
[maven-release-plugin] prepare release 1.2.0
2015-12-17 17:01:58 +00:00
Andy Taylor
b7be2af8a9
ARTEMIS-321 - server should stop if no more journal fil can be created.
...
https://issues.apache.org/jira/browse/ARTEMIS-321
2015-12-14 16:56:37 +00:00