Commit Graph

1251 Commits

Author SHA1 Message Date
Clebert Suconic 992c34bc6a Small tweak on test 2015-10-26 14:06:26 -04:00
Clebert Suconic 32e6d9c61a ARTEMIS-279 fixing typo 2015-10-26 14:06:11 -04:00
Clebert Suconic e35c4d5800 SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure - small improvement 2015-10-26 12:04:03 -04:00
Clebert Suconic bd946d2ce8 SessionCloseOnGCTest#testCloseOneSessionOnGC avoiding intermittent failure 2015-10-26 11:10:48 -04:00
Clebert Suconic 15b8b8138b Improving forceGC method on ActiveMQTestBase 2015-10-26 11:02:53 -04:00
Clebert Suconic 8c6ba443a3 This closes #217 2015-10-26 10:53:48 -04:00
Erich Duda 7970b6e6f8 SessionCloseOnGCTest#testCloseOneSessionOnGC: enforce that Finalizer will be called after garbage collector 2015-10-26 10:53:48 -04:00
Clebert Suconic 487d976760 ARTEMIS-277 IncompatibleVersionTest fails on slower machines
This closes #216
2015-10-26 10:49:49 -04:00
Clebert Suconic c9e823b1ca This closes #215 2015-10-25 09:59:52 -04:00
Ville Skyttä 86b89306d7 Improve "protocol property is deprecated" message, use constants in it 2015-10-25 09:42:57 +02:00
Clebert Suconic 851d4c35df This closes #214 2015-10-23 10:25:28 -04:00
Howard Gao 02cedbf8da ARTEMIS-276 JMSBridge should be TCCL aware 2015-10-23 10:25:28 -04:00
Clebert Suconic 270ad3ec3b ARTEMIS-238/ARTEMIS-236 Removing file that was supposed to be deleted 2015-10-23 09:44:30 -04:00
Clebert Suconic c67df73b80 This closes #212 2015-10-22 10:30:51 -04:00
Clebert Suconic bc828c0017 ARTEMIS-238 and ARTEMIS-236 Moving HQClient to its own module avoiding uncessary server's dependencies 2015-10-22 10:15:14 -04:00
Clebert Suconic aa4cac64ba This closes #211 2015-10-22 10:14:42 -04:00
Ivo Studensky 8a2ecff4fd ARTEMIS-274 ActiveMQThreadFactory has to be constructed within doPrivileged block 2015-10-22 09:30:14 -04:00
Clebert Suconic 852a5717ac This closes #210 2015-10-22 09:27:18 -04:00
Andy Taylor 31f2389343 ARTEMIS-269 - sett restartBackup to true by default
https://issues.apache.org/jira/browse/ARTEMIS-269
2015-10-22 13:20:28 +01:00
jbertram 2d3177a45b This closes #209 2015-10-21 15:55:12 -05:00
Clebert Suconic 9a98684846 ARTEMIS-197 fixing examples by using proper location on folders 2015-10-21 16:43:10 -04:00
jbertram b89e3f53b6 This closes #207 2015-10-21 08:47:09 -05:00
Martyn Taylor 6aae2cc5f1 ARTEMIS-273 Use data locations not dir in moveData 2015-10-21 11:54:41 +01:00
Clebert Suconic e1be56d7ee This closes #206 2015-10-20 18:24:09 -04:00
Julian Scheid aa492fb9b6 ARTEMIS-271 Expose HttpRequest in WebSocketServerHandler 2015-10-20 18:24:09 -04:00
Clebert Suconic 7afd337496 This closes #205 2015-10-20 18:23:41 -04:00
Julian Scheid aa7696e329 ARTEMIS-270 Supply RemotingConnection for authorization 2015-10-20 18:23:41 -04:00
Clebert Suconic 7dc839c07d Adding getDefaultFailbackDelay back to the interface
this is public interface, we can't remove methods...
It's being deprecated though
2015-10-20 18:03:09 -04:00
Clebert Suconic c35651fd6f This closes #204 failback changes 2015-10-20 14:55:31 -04:00
jbertram ef5a9809f2 ARTEMIS-256 orchestrate failback deterministically
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:

1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.

2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.

3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
Clebert Suconic 30b3463748 This closes #203 2015-10-20 13:03:41 -04:00
Clebert Suconic f0f920d455 ARTEMIS-265 & ARTEMIS-266 - small tweaks to Create 2015-10-20 13:03:41 -04:00
Clebert Suconic 9608c3165b This closes #202 2015-10-20 13:03:17 -04:00
Martyn Taylor 3e6f229436 ARTEMIS-262 Check connection status change before callbacks 2015-10-20 10:41:00 +01:00
Martyn Taylor efce1d7a71 Merge pr #201 2015-10-19 15:03:23 +01:00
Andy Taylor 2ea977db2d ARTEMIS-263 - added etc folder to runtime
https://issues.apache.org/jira/browse/ARTEMIS-263
2015-10-19 14:08:06 +01:00
Andy Taylor b0b567bc83 merge #200 - ARTEMIS-262 Fix Bridge OOM exception 2015-10-19 14:03:00 +01:00
Andy Taylor 98c2aa433f ARTEMIS-262 Fix Bridge OOM exception
Netty 4.x uses pooled buffers.  These buffers can run out of memory when
transferring large amounts of data over connection.  This was causing an
OutOfMemory exception to be thrown on the CoreBridge when tranferring
large messages.  Netty provides a callback handler to notify listeners
when a Connection is writable.  This patch adds the ability to register
connection writable listeners to the Netty connection and registers the
relevant callback from the Bridge to avoid writing when the buffers are
full.
2015-10-19 10:32:59 +01:00
Clebert Suconic 360338a362 NO-JIRA making sure there wouldn't be duplicates out of transaction timeout 2015-10-17 00:26:44 -04:00
Clebert Suconic 46ac41de3f This closes #198 2015-10-15 16:03:18 -04:00
Clebert Suconic c6d045b330 ARTEMIS-249 - Improving LibaioContext shutdown
This will be avoiding scenarios where you could crash the VM during the LibaioContext.close,
if done outside of the proper order.
2015-10-15 12:01:55 -04:00
Clebert Suconic a391f327d2 This closes #197 2015-10-14 10:10:13 -04:00
Erich Duda 2dc317a571 ARTEMIS-259 ClientCrashTest: tests fail on slower machines 2015-10-14 13:23:27 +02:00
Clebert Suconic bbd0330268 This closes #196 2015-10-13 13:42:54 -04:00
Clebert Suconic 6bf1241628 ARTEMIS-257 cleaning up dependencies on artemis-core-client 2015-10-13 10:44:49 -04:00
Clebert Suconic ed51a6f706 removing accidental system.out 2015-10-12 19:14:30 -04:00
Clebert Suconic a5fab2754d ARTEMIS-252 fixing tests 2015-10-12 17:21:36 -04:00
Clebert Suconic 2a81a5f146 ARTEMIS-252 retryMessages retrying to topic subscriptions + some ammends to #193 2015-10-12 17:03:53 -04:00
Clebert Suconic 8848c9681c This closes #193 2015-10-12 17:03:42 -04:00
Petter Nordlander 989172596e ARTEMIS-252 Added support to retry messages via JMX on JMS Queue interface 2015-10-12 17:03:42 -04:00