3025 Commits

Author SHA1 Message Date
Francesco Nigro
bc815004d2 ARTEMIS-1223 OutOfDirectMemoryError raised from TimedBuffer
(cherry picked from commit 9f8a14440bd39d061da18495cbdac58a24aa9db3)
2017-06-28 09:39:57 -04:00
Martyn Taylor
15990589a3 ARTEMIS-1254 New OrderedExecutor for JDBC LargeMsg
(cherry picked from commit 222275dd8dc29450bce9bce0419b8a55b797673c)
2017-06-26 19:12:03 +01:00
Martyn Taylor
21215e4e2d ARTEMIS-1204 Replace open sync with AtomicBoolean
The JDBCSequentialFile blocks on the writeLock when opening.  There is
no need to block here, in fact it may cause issues when opening and
syncing concurrently.  Instead an AtomicBoolean is enough to prevent the
file from being reloaded.

(cherry picked from commit 604db9ee7e01a91ec41d95f67a37a2d21afaa74c)
2017-06-26 19:11:53 +01:00
Clebert Suconic
9d48d2f1db This closes #1363 2017-06-23 10:43:44 -04:00
Erich Duda
5f346f203c ARTEMIS-1250 ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging fails
Before sending of messages to server 0 begins, the test
should wait until consumer is registered at RemoteQueueBindingImpl
on server 0. Otherwise some messages may not be rebalanced
to server 1.

(cherry picked from commit c5a25d33226aa261204e0a2779b0e87bfdcf1395)
2017-06-23 15:09:46 +02:00
Clebert Suconic
5b0a133863 This closes #1348 2017-06-22 12:03:17 -04:00
Andy Taylor
333959dc00 ARTEMIS-1237 - Hard coded timeout on Journal file open
Make timeout configurable

https://issues.apache.org/jira/browse/ARTEMIS-1237
2017-06-22 12:03:16 -04:00
Clebert Suconic
6b1bd78629 ARTEMIS-1247 Allow tracing on ReplicatedJournal 2017-06-22 10:31:02 -04:00
Helge Waastad
ec76e4b3cf ARTEMIS-1243 Release ReferenceCounted messages
(cherry picked from commit eaadc2472934ec1c18e3146b9ee94427d7719df4)
2017-06-21 11:21:16 -04:00
Andy Taylor
8679aeb73b This closes #1344 ARTEMIS-1344 Fix log level in logger message 2017-06-19 10:18:14 +01:00
Martyn Taylor
9ab57f2219 ARTEMIS-1233 Fix log level in logger message
(cherry picked from commit 7f5ca5aafe1c7d822f11678a865daa4682967091)
2017-06-16 11:51:34 +01:00
Justin Bertram
7faaddc419 This closes #1339 2017-06-14 13:20:46 -05:00
Andy Taylor
0bc9ab2c49 ARTEMIS-1211 - Allow local transactions when no jta in Resource Adapter
https://issues.apache.org/jira/browse/ARTEMIS-1211
2017-06-14 13:20:46 -05:00
Justin Bertram
09973b2c55 This closes #1341 2017-06-14 13:18:50 -05:00
Jeff Mesnil
f592cdae71 [ARTEMIS-1232] Configure deserialization lists on regular JMS CF
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1232
2017-06-14 17:18:43 +02:00
Justin Bertram
f3e4e2d194 This closes #1334 2017-06-12 13:12:55 -05:00
Andy Taylor
26d6bb3963 ARTEMIS-1224 - change the journal file size to nearest multiple
https://issues.apache.org/jira/browse/ARTEMIS-1224
2017-06-12 13:12:55 -05:00
Justin Bertram
19ee290562 This closes #1329 2017-06-12 13:12:13 -05:00
Erich Duda
8574f9949f ARTEMIS-1208 Do not use reconnect-atempts=-1 in tests
(cherry picked from commit 30e8ca656ccc975d35704b3a6c1d676f5e9897ba)
2017-06-12 08:43:36 +02:00
Clebert Suconic
4423cd2fe5 ARTEMIS-1155 SequentialFiles leaking on JDBCSequentialFileFactory
(cherry picked from commit f328c24b94cb20e4b45435f29137a71cf0af2674)
2017-06-05 10:14:22 +01:00
Martyn Taylor
63f0dcef66 ARTEMIS-1204 Fix getSize() on a closed JDBC File
(cherry picked from commit e7c426c5e112600254252d3565c87ab8d97320bb)
2017-06-05 09:32:54 +01:00
Clebert Suconic
06ee68c0a3 This closes #1310 2017-06-01 11:27:59 -04:00
Ingo Weiss
c6747a58ea [ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
(cherry picked from commit e6f757e44f779f05abf647c41422d8d4bdf867ac)
2017-06-01 11:27:59 -04:00
Clebert Suconic
9334ed8b95 This closes #1312 2017-06-01 11:27:14 -04:00
Erich Duda
8ffdf97054 ARTEMIS-1199 JDBCSequentialFile prints log to System.out
Debug information shouldn't be printed to stdout.
2017-06-01 11:27:13 -04:00
Clebert Suconic
e57ae89806 This closes #1311 2017-06-01 11:22:52 -04:00
Tomas Hofman
dcf0210605 ARTEMIS-1187 Incompatible version when recreating a session with older server
https://issues.jboss.org/browse/JBEAP-9522

(cherry picked from commit c3871a183f48b6cccaa3a65e7c14b2b64e16b39d)
2017-06-01 16:35:43 +02:00
Clebert Suconic
567b0741cc This closes #1309 2017-05-31 11:42:10 -04:00
Tomas Hofman
bf814d4864 ARTEMIS-1186 Consumer.receive hangs if http acceptor with non-zero batch-delay is configured 2017-05-31 11:42:10 -04:00
Clebert Suconic
0f40671a3d This closes #1306 2017-05-31 11:40:24 -04:00
Erich Duda
dc795dc564 ARTEMIS-1190 Long/int type mismatch in JDBCSequentialFile.setWritePosition
(cherry picked from commit 69740a987d580c994a287ba533ae34d1bad407f1)
2017-05-31 07:53:01 +02:00
Michael Andre Pearce
2d850680d6 ARTEMIS-1188: Update sevntu to 1.24.0 available in maven central
remove custom repo
update groupid to match artifact in maven central.
bump version also to that now deployed to maven central.
bump checkstyle version to 7.7 to make compatible.

updated checkstyle.xml to ignore existing issues which are prolific
which are now flagged in latest version as some bugs in previous meant they we'ren't detected e.g. https://github.com/checkstyle/checkstyle/issues/3320

fixing some violations which are not too prolific.

(cherry picked from commit b8ebe0577504fa0b2c39471f36656a0fe0ad59bd)
2017-05-30 09:57:40 -04:00
Clebert Suconic
ee3669e422 ARTEMIS-1175 fix memory leak
(cherry picked from commit b136fed48f756071bbf9542e94ae6448c37881f2)
(cherry picked from commit f63ffc7af5d96fd1a6785a12d5ce3ae504831269)
2017-05-26 15:58:20 -04:00
Andy Taylor
1cbadb08d7 This closes #1273 ARTEMIS-1165 Artemis 1.x JMS bindings doesn't handle JDBC network problems 2017-05-17 14:21:06 +01:00
Francesco Nigro
fa8283f56c ARTEMIS-1165 Artemis 1.x JMS bindings doesn't handle JDBC network problems 2017-05-17 15:00:10 +02:00
Justin Bertram
7ed40326c8 ARTEMIS-1154 tweak logic to support previous semantics
(cherry picked from commit 88e185d2b915e4827803dc7302152c6087924211)
2017-05-11 20:29:42 -04:00
Justin Bertram
7e4de767b7 ARTEMIS-1154 isolated backup fails over
Even if there is no address/url configured for the NetworkHealthCheck
an isolated backup will still fail-over potentially causing split-brain.

(cherry picked from commit 5cb5c8a6dc7179078f099d5455343e1f18fd3398)
2017-05-09 16:41:14 -04:00
Clebert Suconic
c7dc04c2af [maven-release-plugin] prepare for next development iteration 2017-05-08 21:00:29 -04:00
Clebert Suconic
ae41632bbe [maven-release-plugin] prepare release 1.5.5 1.5.5 2017-05-08 21:00:17 -04:00
Francesco Nigro
25094f2721 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

(cherry picked from commit 21c9ed85cf6b9a53debdd32747bd42b2e733da80)
2017-05-08 18:31:23 -04:00
Clebert Suconic
5ec545a792 This closes #1254 2017-05-05 14:48:44 -04:00
dOkI
e4c4539c8f ARTEMIS-874: ThreadGroup memory leak 2017-05-05 22:10:59 +05:00
Justin Bertram
94f721e88b This closes #1251 2017-05-04 10:08:00 -05:00
Bernd Gutjahr
88e629a7ae ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.

If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.

(cherry picked from commit 6017e305d90664b4bf5b8f891e43514907df9a4b)
(cherry picked from commit 7aa50546b3dc6c012bd7d4118d82055ffd1e1226)
2017-05-04 11:28:12 +02:00
Clebert Suconic
468b8a954b ARTEMIS-1140: Trivial test fix
(cherry picked from commit 0146109d6a06f9702f245034a43c49dffc5779bd)
2017-05-03 16:41:42 -04:00
Clebert Suconic
534fd8093d ARTEMIS-1140 Avoid lock on queue for message counts
(cherry picked from commit 33f2ad65c915a8fa2c3606271f106bf5703ace83)
2017-05-03 16:41:31 -04:00
Clebert Suconic
6f0babb368 This closes #1245 2017-05-03 12:31:45 -04:00
Jeff Mesnil
64c89b6874 [ARTEMIS-1043] Support IPv6 in NettyConnector
Wrap the host added to the HTTP request headers with
IPV6Util.encloseHost to ensure that load balancers that reads the header
will have a valid IPv6 address.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1043
2017-05-03 09:56:24 +02:00
Andy Taylor
a03db5baf0 This closes #1219 JDBC update and test fix 2017-04-21 10:55:56 +01:00
Andy Taylor
56a18759a7 no jira - fix test 2017-04-21 10:39:25 +01:00