3118 Commits

Author SHA1 Message Date
Francesco Nigro
9a42280dce ARTEMIS-1806 JDBC Connection leaks
(cherry picked from commit bbb2f708dd86d681a02237aa1b7c366668af37d4)
2018-04-18 09:51:16 -04:00
Clebert Suconic
502b317058 This closes #2018 2018-04-17 10:58:34 -04:00
Clebert Suconic
3c54609278 ARTEMIS-1776 Blocked Bridge is not resuming after reconnect
This is still part of ARTEMIS-1776 fix, which still part of the same release as we are on now.
Hence I'm not opening a new JIRA for this one.

Cherry-picked from e5bce13316f7e81bb15a12592622df2ea2632a35
2018-04-11 08:28:19 +02:00
Clebert Suconic
2c73bd0462 ARTEMIS-1776 Asynchronous Flow control on the bridge
Cherry-picked from 70bdfe760393a9d7d17ec175ea68ce83819fe83c
2018-04-10 16:44:07 +02:00
Howard Gao
1e6e1f77d0 ARTEMIS-1621 Make producerWindowSize configurable on clusterconnection bridges
The cluster connection bridge hard codes its producerWindowSize to -1
(meaning no producer flow control) even if you configure it otherwise.

Cherry-picked from 98ce31bf588a314a0408216e4ad4b85597a15186
2018-04-10 16:29:47 +02:00
Clebert Suconic
a45d90a8d7 This closes #1995 2018-04-05 13:38:23 -04:00
Radovan Stancel
20aed7f864 [ARTEMIS-1770] Log warning when connection is closed 2018-04-05 18:53:05 +02:00
Clebert Suconic
360f8425f4 This closes #1976 2018-03-29 11:07:41 -04:00
Francesco Nigro
15e5debafc ARTEMIS-1774 Node Manager Store table name should be configurable
(cherry picked from commit 83d6f7dd8045221bc2b0996df3944a6c98155c68)
2018-03-29 16:46:04 +02:00
Clebert Suconic
f0729f1c62 NO-JIRA Adding Travis config on 1.x 2018-03-28 12:48:23 -04:00
Clebert Suconic
9d1f762d43 NO-JIRA Script to rebase donation on 1.x
This is useful when looking for old JIRAs fixed in HornetQ and looking for root cause of old changes.
2018-03-28 11:58:26 -04:00
Clebert Suconic
94877c1cf2 This closes #1976 2018-03-28 11:54:16 -04:00
Francesco Nigro
74a0b15710 ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
(cherry picked from commit 4842ebe328f8bc2702735adf624773f252d014aa)
2018-03-28 11:54:15 -04:00
Francesco Nigro
9426f7a3c8 ARTEMIS-1757 Improve DB2 compatibility
(cherry picked from commit f5868a94e1a1534ddb8a44c854c132e8b20f1b9d)
2018-03-28 11:54:15 -04:00
Francesco Nigro
717bc8f09a ARTEMIS-1762 JdbcNodeManager shouldn't be used if no HA is configured
(cherry picked from commit 3b8da88989f680fca0ef178312c017a6d0b14ff2)
2018-03-28 11:54:15 -04:00
Francesco Nigro
a9cfc08e67 ARTEMIS-1767 JDBC Lock Acquisition Timeout should behave like the file based version
(cherry picked from commit 6e9ce27a6e36454dafa3749139ae96d45f34b380)
2018-03-28 11:54:15 -04:00
Francesco Nigro
03ff0661b8 ARTEMIS-1640 JDBC NodeManager tests have to be customizable to run on different DBMS
(cherry picked from commit b1422fc3d621699aa6acdf1822f0df05e5260495)
2018-03-28 11:54:15 -04:00
Jeff Mesnil
2a0b9039a3 [ARTEMIS-1590] Properties-based SQLProvider
(cherry picked from commit 938fbd81cbe242504ff6563aa7301e681f80a61c)
2018-03-28 11:54:15 -04:00
Francesco Nigro
f005da6dfd ARTEMIS-1541 Make the JDBC Node Manager more resilient on failures
(cherry picked from commit 70b21725edae28b591b87bb4de0f51364e9cfd50)
2018-03-28 11:54:15 -04:00
Francesco Nigro
a0f3da5d72 ARTEMIS-1509 Add support for JdbcNodeManager into the NettyFailoverTest
(cherry picked from commit 8e8a6f0faf121a03b07b1baa23f5d91ec1cecdc3)
2018-03-28 11:54:15 -04:00
Francesco Nigro
590fbcf1d2 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 95d26b7be37318155680ad43cd84822c5bb8255c)
2018-03-28 11:54:15 -04:00
Clebert Suconic
1a7cd8aabe ARTEMIS-1447 Reuse thread pools on JDBC Locks
(cherry picked from commit 1af6d986a570f4c0db87cdd141fad3c66b84ea92)
2018-03-28 11:54:15 -04:00
Francesco Nigro
565b817592 ARTEMIS-1447 JDBC NodeManager to support JDBC HA Shared Store
(cherry picked from commit 7944a25269d939791bfbc2637e3c649a9137ad45)
2018-03-28 11:54:15 -04:00
Clebert Suconic
b267e8a741 NO-JIRA small doc on ActiveMQScheduledComponent
(cherry picked from commit bc97720bf28e5798c758a2eeffac0ec5f88a42ba)
2018-03-28 11:54:15 -04:00
Clebert Suconic
b097ef381e ARTEMIS-1462 Fixing QueueControlTest
(cherry picked from commit c66a7975e6834293eee52a87689b3a15839b4843)
2018-03-28 11:54:15 -04:00
Francesco Nigro
ed76ecb3c5 ARTEMIS-1462 Allow ActiveMQScheduledComponent initial delay configuration
(cherry picked from commit 40f49ef0bca0cba7fd3df22a807e46e36a59f2c7)
2018-03-28 11:54:15 -04:00
Justin Bertram
846f36e98b This closes #1854 2018-02-12 10:32:20 -06:00
Yeray Borges
de7f6de094 [ARTEMIS-1666] List of prepared transaction details returns Object.toString() instead of Json string 2018-02-12 10:32:19 -06:00
Clebert Suconic
a90adaed51 This closes #1860 2018-02-09 09:10:27 -05:00
Lin Gao
3e212c09db [ARTEMIS-1670] NPE was found in when dropping durable subscriptions from a topic 2018-02-09 15:02:12 +08:00
Martyn Taylor
466f5f8ebe ARTEMIS-1482 Catch malformed SimpleString 2017-10-25 14:23:53 +01:00
Clebert Suconic
459e5976ca This closes #1604 2017-10-23 14:58:54 -04:00
Jeff Mesnil
79e307e9f9 [ARTEMIS-1475] Fix NPE in ActiveMQMessageHandler#setup
* initialize ActiveMQActivationSpec#shareSubscriptions to false
* i18n of the exception thrown by ActiveMQMessageHandler if it is not
  possible to create a non-shared subscriber

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1475
2017-10-23 15:31:27 +02:00
Clebert Suconic
e42433f70e Revert "add licenses tag to pom.xml"
This reverts commit b4bbdff456c519cb34df444fb15cee8b2ce0bb46.
2017-09-27 12:59:19 -04:00
Clebert Suconic
b56950c351 This closes #1553 2017-09-26 14:48:08 -04:00
Clebert Suconic
e03c41aabd NO-JIRA fixing TimedbufferTest as fixed on master 2017-09-26 14:43:56 -04:00
Paul Ferraro
313e816707 NO-JIRA: Allow subclasses to more easily override BroadcastEndpointFactory used during connection factory creation.
(cherry picked from commit 4bf204c01225e058a5b723e301e53a79f3128f3a)
2017-09-26 14:28:08 -04:00
Martyn Taylor
ee4692d5ca ARTEMIS-1418 AIO Shutdown on IOError and logging
(cherry picked from commit 520a40b1a1431fb0fdc1666c556342410a56e4eb)
2017-09-26 14:28:07 -04:00
Justin Bertram
f51023506e ARTEMIS-1417 Failback not working on NFSv4
With NFSv4 it is now necessary to lock/unlock the byte of the server
lock file where the state information is written so that the
information is then flushed to the other clients looking at the file.

(cherry picked from commit 2ec173bc708daca163c9356cf12440432abc61c4)
2017-09-26 14:28:07 -04:00
psakar
b4bbdff456 add licenses tag to pom.xml 2017-09-26 14:28:07 -04:00
Erich Duda
0f4a8c3c2d ARTEMIS-1368 Artemis gets to state when it doesn't respond to producer
There is a leak on replication tokens in the moment when a backup is
shutdowned or killed and the ReplicationManager is stopped. If there
are some tasks (holding replication tokens) in the executor, these
tokens are simply ignored and replicationDone method isn't called on
them. Because of this, some tasks in OperationContextImpl cannot be
finished.

(cherry picked from commit 88a018e17fd49097de1186c65e25cd0af578b6a9)
(cherry picked from commit d6cbc0aa885fa88beb7f1b2450cdfe4da9466947)
2017-09-26 14:28:07 -04:00
Clebert Suconic
492b55e09a ARTEMIS-1353 Initial replication of large messages out of executor
This is based on the work @jbertram made at the github pr #1466 and the discussions we had there

(cherry picked from commit ce6942a9aa9375efaa449424fe89de2db3f22e36)
2017-09-26 14:28:07 -04:00
Martyn Taylor
5db0c8772e NO JIRA Remove failing tests due to cherrypick 2017-09-26 14:28:06 -04:00
Clebert Suconic
fef0256bfa ARTEMIS-1305 Fix checkstyle and traces
https://issues.jboss.org/browse/JBEAP-9235
2017-09-26 14:28:06 -04:00
Howard Gao
6f0bebaad7 ARTEMIS-1220 removing broken test
Testsuite won't compile
2017-09-26 14:28:06 -04:00
xstefank
08fdae355c ARTEMIS-950 Change log level from INFO to WARN for "Invalid "host" value "0.0.0.0" detected for..." when Artemis is bound to 0.0.0.0
(cherry picked from commit 93ebbfdeaaa3f79c76d6028703c3c7b23bb3783e)
(cherry picked from commit d402f67f4e6c14072213c2a2936edb032cee751b)
2017-09-26 14:28:06 -04:00
Howard Gao
7b1a1b058a ARTEMIS-1221 Duplicated ID causes LargeMessage lost at backup
When a large message is replicated to backup, a pendingID is generated
when the large message is finished. This pendingID is generated by a
BatchingIDGenerator at backup.

It is possible that a pendingID generated at backup may be a duplicate
to an ID generated at live server.

This can cause a problem when a large message with a messageID that is
the same as another largemessage's pendingID is replicated and stored
in the backup's journal, and then a deleteRecord for the pendingID
is appended. If backup becomes live and loads the journal, it will
drop the large message add record because there is a deleteRecord of
the same ID (even though it is a pendingID of another message).
As a result the expecting client will never get this large message.

So in summary, the root cause is that the pendingIDs for large
messages are generated at backup while backup is not alive.

The solution to this is that instead of the backup generating
the pendingID, we make them all be generated in advance
at live server and let them replicated to backup whereever needed.
The ID generater at backup only works when backup becomes live
(when it is properly initialized from journal).

(cherry picked from commit d50f577cd50df37634f592db65200861fe3e13d3)
2017-09-26 14:28:05 -04:00
Martyn Taylor
5faf2cd829 NO-JIRA Remove artemis-feature dep from integration tests 2017-09-26 14:28:05 -04:00
Andy Taylor
2c89287009 ARTEMIS-1224 - change the journal file size to nearest multiple
https://issues.apache.org/jira/browse/ARTEMIS-1224

(cherry picked from commit 30a6ac703efe3539d13152f9311bedd7fd68aa9d)
2017-09-26 14:28:05 -04:00
Dmitrii Tikhomirov
31fa7584ab ARTEMIS-1180 Artemis is logging warnings during server shut down
(cherry picked from commit 2443eaaa003ef913187c14dbc567544788224821)
2017-09-26 14:28:05 -04:00