Commit Graph

5235 Commits

Author SHA1 Message Date
Timothy Bish fc32bc0b07 ARTEMIS-1780 Handle conversion of large ObjectMessage types
Make sure the correct buffer is used when decoding the stored Core
message that originated from the conversion of an AMQP message sent and
annotated as a JMS ObjectMessage which trips the large message boundary.
2018-04-03 22:27:43 -04:00
Clebert Suconic 32090121d2 Revert "NO-JIRA fixing variable on a few examples"
This reverts commit eb3cc5cb67.

Reverting PR #1983
2018-04-03 20:33:12 -04:00
Clebert Suconic a8e81f2267 This closes #1984 2018-04-03 16:22:13 -04:00
Clebert Suconic f3e1ab337c ARTEMIS-1779 Small refactoring to logic on BridgeImpl::nodeUp logic 2018-04-03 16:22:13 -04:00
Howard Gao 262990fa67 ARTEMIS-1779 ClusterConnectionBridge may connect to other nodes than its target
The cluster connection bridge has a TopologyListener and connects to a new node
each time it receives a nodeUp() event. It needs to put a check here to make
sure that the cluster bridge only connects to its target node and it's backups.

This issue shows up when you run LiveToLiveFailoverTest.testConsumerTransacted
test.

Also in this commit improvement of BackupSyncJournalTest so that it runs more
stable.
2018-04-03 16:22:13 -04:00
Clebert Suconic 650c79ee0f This closes #1989 2018-04-03 11:01:39 -04:00
Francesco Nigro f6e8345dbe ARTEMIS-1772 Reduce memory footprint and allocations of QueueImpl
It includes:
- Message References: no longer uses boxed primitives and AtomicInteger
- Node: intrusive nodes no longer need a reference field holding itself
- RefCountMessage: no longer uses AtomicInteger, but AtomicIntegerFieldUpdater
2018-04-03 11:01:38 -04:00
Clebert Suconic c17f05de26 This closes #1983 2018-04-02 18:51:04 -04:00
Ingemar Allqvist eb3cc5cb67 NO-JIRA fixing variable on a few examples 2018-04-02 18:49:55 -04:00
Clebert Suconic 309729bbdb This closes #1980 2018-03-29 16:38:12 -04:00
Clebert Suconic c2955af164 ARTEMIS-1777 Adding Protocol specific into producer / consumer 2018-03-29 15:21:38 -04:00
Clebert Suconic b6a29a5b5f This closes #1981 2018-03-29 15:19:12 -04:00
Ingemar Allqvist 7fc895d270 NO-JIRA Added missing variable on artemis.profiler.cmd
An obvious fix is the missing definition of ARTEMIS_ETC_INSTANCE, in the Windows "artemis.profile.cmd"
2018-03-29 15:18:34 -04:00
Clebert Suconic 85c6e9b19c This closes #1974 2018-03-29 11:22:37 -04:00
Stanislav Knot d6ff3e55d3 NO-JIRA browsing messages do not change items per page 2018-03-29 11:22:37 -04:00
Clebert Suconic ef74221684 NO-JIRA Fixing FailoverTest
There's some debugging code I left on this test
causing cascade failures after a change made on JDBC.
2018-03-29 10:28:31 -04:00
Francesco Nigro 4dbd03e53b This closes #1979 2018-03-29 14:55:25 +02:00
Clebert Suconic 70bdfe7603 ARTEMIS-1776 Asynchronous Flow control on the bridge 2018-03-28 19:09:20 -04:00
Clebert Suconic 8f9299793a This closes #1977 2018-03-28 11:52:31 -04:00
Francesco Nigro 1a7a2cf5b4 ARTEMIS-1774 Node Manager Store table name should be configurable
It exposes the table name configuration for:
- CLI command
- configuration file

The docs are updated as well.
2018-03-28 11:52:30 -04:00
Clebert Suconic ab808106fc This closes #1978 2018-03-28 11:51:59 -04:00
Benjamin Graf c5ef696dad ARTEMIS-1775: Replace wrong env variable ARTEMIS_ETC_INSTANCE with ARTEMIS_INSTANCE_ETC 2018-03-28 17:40:58 +02:00
Clebert Suconic 586739ff46 This closes #1962 2018-03-27 10:37:27 -04:00
Francesco Nigro af3917247a ARTEMIS-1760 JDBC HA should have configurable tolerance of DB time misalignment
It allows a user to customize the max allowed distance between system and DB time,
improving HA reliability by shutting down the broker when the misalignment
exceeds configured limit.
2018-03-27 10:36:56 -04:00
Clebert Suconic 5d3ba98a11 This closes #1822 2018-03-27 10:12:14 -04:00
Niels Lippke b95afbf936 ARTEMIS-1653 Allow database tables to be created externally
In some environments it is not allowed to create a schema
by the application itself. With this change the AbstractJDBCDriver
now tests if an existing table is empty and executes further
statements in the same way as if the table does not exist.
2018-03-27 10:12:14 -04:00
Clebert Suconic f36bcb6705 This closes #1969 2018-03-27 10:10:35 -04:00
Francesco Nigro b89fa74f8a ARTEMIS-1762 JdbcNodeManager shouldn't be used if no HA is configured
It forces to use InVMNodeManager when no HA option is selected with JDBC persistence and includes the checks that the only valid JDBC HA options are SHARED_STORE_MASTER and SHARED_STORE_SLAVE.
2018-03-27 10:10:35 -04:00
Clebert Suconic caa19647ae This closes #1963 2018-03-27 09:59:57 -04:00
Francesco Nigro 8842ac3638 ARTEMIS-1757 Improve DB2 compatibility
It includes:
- Fixed AUTO_INCREMENT not supported on DB2
- Added proper stop/teardown of driver
- Fixed recursive SQLException formatting
2018-03-27 09:59:56 -04:00
Clebert Suconic 5a39446561 This closes #1964 2018-03-26 10:32:53 -04:00
Radovan STANCEL 373c3db2ac [ARTEMIS-1761] Log one warning if cluster could not be formed because it's not possible to connect to other cluster node 2018-03-26 10:32:17 -04:00
Clebert Suconic acb134316e This closes #1973 2018-03-23 14:49:24 -04:00
saurabhrai 6c05a81ba2 ARTEMIS-375:When use ./artemis data exp, the xml printed to stdout mixed with logging information 2018-03-23 13:59:58 +05:30
Clebert Suconic 5612982a3e This closes #1966 2018-03-22 16:30:00 -04:00
saurabhrai f045ffbcf8 ARTEMIS-370: Make JDBC Journal Sync period configurable 2018-03-22 16:29:00 -04:00
Clebert Suconic e2341e3a76 This closes #1967 2018-03-22 16:22:18 -04:00
andytaylor 3a548a9df5 ARTEMIS-1763 - Remove 'quick check' before quorum
https://issues.apache.org/jira/browse/ARTEMIS-1763
2018-03-22 16:22:17 -04:00
Clebert Suconic 7628236453 This closes #1968 2018-03-22 16:21:17 -04:00
Martyn Taylor f8547aecf1 ARTEMIS-1764 Ignore Ack for Prepared Tx when Queue deleted 2018-03-22 16:21:16 -04:00
Clebert Suconic d8f22a399b This closes #1971 2018-03-22 16:20:14 -04:00
Michael André Pearce a9d84a7dad ARTEMIS-1766 - Persist LastValue queue config in bindings.
Added Integration tests for the issue.
Add lastvalue to the queue bindings that get persisted.
2018-03-22 16:20:14 -04:00
Clebert Suconic 7a36e84aa9 This closes #1972 2018-03-22 16:19:36 -04:00
Francesco Nigro b775cb251f ARTEMIS-1767 JDBC Lock Acquisition Timeout should behave like the file based version
The JDBC Lock Acquisition Timeout is no longer exposed to any user configuration and defaulted to infinite to match the behaviour of the journal (file-based) one.
2018-03-22 16:19:35 -04:00
Clebert Suconic fae3a8fadb This closes #1970 2018-03-22 16:13:45 -04:00
Clebert Suconic e86acd4824 ARTEMIS-1765 Fixing Large Message Compression and Conversion 2018-03-22 16:11:11 -04:00
Howard Gao 51f105da7b ARTEMIS-1765 Adding StompWithLargeMessageTest
This closes #1965
2018-03-22 16:06:37 -04:00
Clebert Suconic 552e4a2844 NO-JIRA cleanup System.out on compatibility tests 2018-03-22 16:06:37 -04:00
Clebert Suconic 37657f22fa ARTEMIS-1753 Fixing intermittent failure on OldAddressSpaceTest 2018-03-22 15:46:27 -04:00
Justin Bertram e26c051617 This closes #1955 2018-03-22 10:46:40 -05:00