Commit Graph

1229 Commits

Author SHA1 Message Date
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
Petter Nordlander 7afe87996b ARTEMIS-252 added jmx operations to retry messages 2015-10-12 17:03:42 -04:00
Clebert Suconic 78410bcbfe This closes #195 2015-10-12 17:02:06 -04:00
jbertram 717ddd1675 ARTEMIS-255 make non-blocking-failover-timeout configurable 2015-10-12 13:38:56 -05:00
Clebert Suconic 5bfb7ac1ad This closes #194 2015-10-12 12:56:58 -04:00
jbertram 1baa5a0d8b ARTEMIS-242 don't throw j.l.ISE from producer 2015-10-12 11:25:49 -05:00
Clebert Suconic 1b49559c64 This closes #188 2015-10-09 15:57:53 -04:00
jbertram 6ed9c5ae91 ARTEMIS-74 import JAAS auth from 5.x
This change allows the use of JAAS login modules for basic authentication
and authorization.
2015-10-09 11:42:22 -05:00
Andy Taylor e971f117b2 merge #192 - [ARTEMIS-236] Improve Legacy support on older migrating clients 2015-10-09 11:41:58 +01:00
Jeff Mesnil 4bfb6e3a8c [ARTEMIS-236] Improve Legacy support on older migrating clients
set the client protocol manager factory on the server locator

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-236
2015-10-09 12:38:30 +02:00
Clebert Suconic fcf18a7644 This closes #191 Protocol changes 2015-10-08 22:55:09 -04:00
Clebert Suconic a48046be5f ARTEMIS-151 more fixes because of the TransportConfiguration changes 2015-10-08 20:32:44 -04:00
Clebert Suconic 206acdac7d ARTEMIS-238 and ARTEMIS-236 Fixing Legacy protocol support 2015-10-08 20:32:43 -04:00
Clebert Suconic 1c067a5b96 adding interceptor client example 2015-10-08 14:54:47 -04:00
Clebert Suconic e30b983b97 This closes #190 2015-10-08 14:46:12 -04:00
Andy Taylor 35ab56fd91 ARTEMIS-244 - fixed property name
https://issues.apache.org/jira/browse/ARTEMIS-244
2015-10-08 12:15:21 +01:00
Andy Taylor 38a809fded ARTEMIS-243 - fix possible null pointer
https://issues.apache.org/jira/browse/ARTEMIS-243
2015-10-08 12:15:21 +01:00
Clebert Suconic 4eb669f035 ARTEMIS-151 avoiding duplicate config of acceptors 2015-10-07 22:07:05 -04:00
Clebert Suconic c3448e7029 ARTEMIS-151 Fixing tests 2015-10-07 18:48:26 -04:00
Clebert Suconic 9d3866471b This closes #189 2015-10-07 17:23:44 -04:00
Clebert Suconic 33188bb4d9 ARTEMIS-151 Considering name as part of equals and hashCode 2015-10-07 15:30:50 -04:00
Clebert Suconic c21bee63cb renaming/equalizing parameters on the maven plugins 2015-10-07 11:51:53 -04:00
Clebert Suconic e81f63f067 This closes #187 - example using jmeter 2015-10-06 22:22:17 -04:00