Justin Bertram
c56b8fb9d2
ARTEMIS-2489 ring q fails w/concurrent producers
2019-09-13 10:08:32 -05:00
Andy Taylor
42327a490a
ARTEMIS-2480 - Reloading configuration can kill broker
...
https://issues.apache.org/jira/browse/ARTEMIS-2480
2019-09-11 17:37:11 +02:00
Wei Yang
e43c5390cf
ARTEMIS-2478 Expired message not removed in non destructive queue
2019-09-11 09:37:03 -04:00
Justin Bertram
c5376789b0
ARTEMIS-2475 log metrics plugin init details
2019-09-10 20:05:25 -04:00
Clebert Suconic
5373c60891
ARTEMIS-2474 Retry interval ignored on Backup Connectors
2019-09-10 15:03:01 -04:00
Clebert Suconic
54de31e813
NO-JIRA Fixing intermittent failures
2019-09-10 15:00:45 -04:00
Clebert Suconic
7fd7558ed8
NO-JIRA Fixing intermittent failures
2019-09-10 14:53:49 -04:00
Wei Yang
da6fedf6ae
ARTEMIS-2472 Persistent and delivering size not right in replacement of lvq message
2019-09-06 14:26:30 -04:00
Francesco Nigro
9413925957
ARTEMIS-2473 RemoteQueueBindingImpl should check for empty filters
2019-09-06 14:26:03 -04:00
Francesco Nigro
a9ce90f97a
ARTEMIS-2471 JdbcNodeManager doesn't use jdbc-user and jdbc-password tags
2019-09-05 09:21:35 -05:00
Wei Yang
4a61d2dc76
ARTEMIS-2380 Fix delivering message in the case of consume close
2019-09-04 11:02:16 +08:00
Howard Gao
397cef699a
ARTEMIS-2462 Allow store-forward queue to be deleted afte scaledown
...
After a node is scaled down to a target node, the sf queue in the
target node is not deleted.
Normally this is fine because may be reused when the scaled down
node is back up.
However in cloud environment many drainer pods can be created and
then shutdown in order to drain the messages to a live node (pod).
Each drainer pod will have a different node-id. Over time the sf
queues in the target broker node grows and those sf queues are
no longer reused.
Although use can use management API/console to manually delete
them, it would be nice to have an option to automatically delete
those sf queue/address resources after scale down.
In this PR it added a boolean configuration parameter called
cleanup-sf-queue to scale down policy so that if the parameter
is "true" the broker will send a message to the
target broker signalling that the SF queue is no longer
needed and should be deleted.
If the parameter is not defined (default) or is "false"
the scale down won't remove the sf queue.
2019-08-28 21:16:38 +08:00
Clebert Suconic
5016f69daa
[maven-release-plugin] prepare for next development iteration
2019-08-26 10:42:13 -04:00
Clebert Suconic
f092d5396a
[maven-release-plugin] prepare release 2.10.0
2019-08-26 10:42:01 -04:00
Justin Bertram
dde6862aed
ARTEMIS-2457 fix non-destructive ring q test
2019-08-26 10:06:52 -04:00
Clebert Suconic
e14a533d6e
Revert "ARTEMIS-2415 JDBCJournal miss pending tasks during shutdown"
...
This reverts commit a85f029106
.
2019-08-26 07:19:19 -04:00
brusdev
a85f029106
ARTEMIS-2415 JDBCJournal miss pending tasks during shutdown
...
Wait deleting large message tasks during stop.
2019-08-25 23:58:59 -04:00
gtully
b20c2593e9
ARTEMIS-2433 add ExternalCertificateLoginModule to surface a SASL EXTERNAL identity (subjectDN) to JAAS.
2019-08-25 23:57:20 -04:00
brusdev
ee31a92d23
ARTEMIS-2392 Enable remove on cancel policy for scheduled pool
...
By default, such a cancelled task is not automatically removed from the
work queue until its delay elapses. It may cause unbounded retention of
cancelled tasks. To avoid this, set remove on cancel policy to true.
2019-08-25 23:54:11 -04:00
Justin Bertram
449f0323ec
ARTEMIS-2364 collision avoidance for redelivery
...
This is a feature from 5.x implemented via
https://issues.apache.org/jira/browse/AMQ-747 .
2019-08-25 23:36:09 -04:00
Justin Bertram
51c2022f38
ARTEMIS-2457 implement ring queue
2019-08-25 23:29:44 -04:00
Clebert Suconic
c929d34eed
ARTEMIS-2454 Fixing body re-encoding
2019-08-25 23:03:53 -04:00
Wei Yang
510339423e
ARTEMIS-2459 Fix err in the replacement of a non-destructively consumed LVQ message
2019-08-22 11:50:28 -04:00
Clebert Suconic
7496dc6829
ARTEMIS-2450 Fixing page-size Nullable Long encoding
2019-08-21 14:37:54 -04:00
Michael Pearce
25d0b511ce
ARTEMIS-2458 Fix AMQP Transaction Session Close Ordering
2019-08-21 09:34:08 -04:00
Clebert Suconic
61eb379741
ARTEMIS-2458 Fix AMQP Transaction Rollback Ordering by using a sorted add
2019-08-21 09:34:07 -04:00
Wei Yang
a644c498da
ARTEMIS-2450 page-size-bytes should not be greater than Integer.MAX_VALUE
2019-08-19 17:18:06 +01:00
yang wei
e537fbfde0
ARTEMIS-2407 Large message file not deleted if broker crashes between page deleted and pending large message written
2019-08-19 16:46:07 +01:00
yang wei
76d420590f
ARTEMIS-2399 Improve performance when there are a lot of subscribers
2019-08-19 16:43:44 +01:00
Clebert Suconic
144c21fb6f
ARTEMIS-2453 Fixing deadLock between destroyQueue and removeAddressInfo
2019-08-15 11:38:57 -04:00
Justin Bertram
9d44c40037
ARTEMIS-2449 limit size of producer details
...
The core server session tracks details about producers like what
addresses have had messages sent to them, the most recent message ID
sent to each address, and the number of messages sent to each address.
This information is made available to users via the
listProducersInfoAsJSON method on the various management interfaces
(JMX, web console, etc.). However, in situations where a server session
is long lived (e.g. in a pool) and is used to send to many different
addresses (e.g. randomly named temporary JMS queues) this info can
accumulate to a problematic degree. Therefore, we should limit the
amount of producer details saved by the session.
2019-08-08 14:24:28 -04:00
Francesco Nigro
191323176a
ARTEMIS-2448 group-name ignored in replicated colocated setup
2019-08-08 13:16:22 -04:00
Justin Bertram
d379cda374
ARTEMIS-2447 allow mapping admin to manage in LDAP plugin
2019-08-06 15:27:18 -05:00
Clebert Suconic
e2d6d07298
ARTEMIS-2441 Avoiding NPE on FileLockNodeManager
2019-08-06 10:34:55 -04:00
Clebert Suconic
205a1399e7
ARTEMIS-2440 Call timeout should retry the connection asynchronously
2019-08-05 12:12:33 -04:00
Clebert Suconic
f72409e38f
ARTEMIS-2441 Separate Lock Files
...
Certain devices or file systems won't support record level locking.
For that reason I am changing FileLockNodeManager to use separate files (one for each position) instead of using tryLock(position);
A good example for this would be cephFS where channel.tryLock or channel.tryLock works but it fails at a record level.
2019-08-05 09:29:34 -04:00
Clebert Suconic
cd723aa528
ARTEMIS-2440 Connection.fail on sendBlock should be asynchronous
...
This is following up on ARTEMIS-2327.
2019-08-02 16:37:12 -04:00
Justin Bertram
3a68288db6
ARTEMIS-2439 ServerSessionImpl leaks addr names
2019-08-02 13:27:02 -04:00
Clebert Suconic
73e2d4709d
ARTEMIS-2438 Activation cleaning
2019-08-01 16:58:00 -04:00
brusdev
b9d7c76d88
NO-JIRA Fix NoProcessFilesBehind build on IBM JDK 8
...
Remove sun.management.VMManagement to build NoProcessFilesBehind with
IBM JDK 8.
2019-08-01 16:15:40 -04:00
Clebert Suconic
21af85bd94
NO-JIRA Speeding up tests
...
When it comes to the testsuite, we don't need timed buffers kicking too much.
This should bring some speed for our testsuite
2019-08-01 16:15:18 -04:00
Shailendra Kumar Singh
51fdcca464
ARTEMIS-2410 max-saved-replicated-journals-size=0 throws ArrayIndexOutOfBoundsException
2019-08-01 12:54:02 -04:00
Clebert Suconic
80190860cc
ARTEMIS-2435 Configuration on device-block-size through CLI / broker.xml
2019-07-30 14:39:07 -04:00
Clebert Suconic
32a15284ca
NO-JIRA no need to validate default return
2019-07-30 13:43:39 -04:00
Clebert Suconic
aa5d76e1bb
ARTEMIS-2414 AIOSequentialFile was ignoring sync and leaking files
2019-07-30 11:03:06 -04:00
Wei Yang
edace8845e
ARTEMIS-2414 Sync before closing file in case data loss
2019-07-29 14:44:26 -04:00
Clebert Suconic
28ea18ea79
ARTEMIS-2434 Improving Consumer/Queue Delivery Lock
...
This is a less invasive improvement then the one I proposed at PR #2772
or commit 7507a9fd4b
2019-07-27 11:37:45 -04:00
Clebert Suconic
8a1f267bd5
Revert "ARTEMIS-2423 Improving Consumer/Queue Delivery lock"
...
This reverts commit 7507a9fd4b
.
2019-07-27 10:45:08 -04:00
Clebert Suconic
7507a9fd4b
ARTEMIS-2423 Improving Consumer/Queue Delivery lock
2019-07-26 15:05:51 -04:00
Clebert Suconic
d2d21516ba
Revert "ARTEMIS-2434 Don't lock ServerConsumerImpl for long period of time"
...
This reverts commit 64ba930f43
.
2019-07-26 13:57:05 -04:00
Francesco Nigro
64ba930f43
ARTEMIS-2434 Don't lock ServerConsumerImpl for long period of time
2019-07-26 13:00:57 -04:00
Wei Yang
b92cde165b
ARTEMIS-2430 Avoid data loss when live page cache evicted
2019-07-24 19:42:49 +08:00
Jiri Danek
52e7b9d57d
ARTEMIS-2429 Fix order of arguments to registerQueueGauge and two related typos
...
Test is also adjusted to test for the changes made.
2019-07-22 13:28:22 +02:00
Clebert Suconic
2d7d714260
ARTEMIS-2428 Exposing timeout on configuration and changing it to 0 on the testsuite
2019-07-19 12:09:23 -04:00
Clebert Suconic
89cc07c7d8
ARTEMIS-2408 Changing FileDescriptors rule as classRule
2019-07-19 12:01:01 -04:00
Clebert Suconic
736045d73b
ARTEMIS-2401 Improving tests and a few fixes around Address.pause
2019-07-18 16:29:52 -04:00
Emmanuel Hugonnet
3aa3fa777f
ARTEMIS-2401 Implement the Pause method for an Address
...
Adding support to pause an Address and all its bound queues.
Jira: https://issues.apache.org/jira/browse/ARTEMIS-2401
2019-07-18 16:29:52 -04:00
Clebert Suconic
989b3a516e
ARTEMIS-2408 A few tweaks on acceptor async stop
2019-07-18 16:23:19 -04:00
brusdev
aeecb6f70b
ARTEMIS-2408 Too many opened FDs after server stops
...
Limit acceptors stop time.
reapplying after commit 20ca827d79
2019-07-18 16:17:03 -04:00
yang wei
99158ccd3d
ARTEMIS-2418 Race conditions between cursor movement and page writing
2019-07-18 10:30:26 -04:00
Clebert Suconic
20ca827d79
ARTEMIS-2408 Effectively reverting FileDescriptors to fix tests
...
At this commit point NetworkFailureFailoverTest would hung indefinetly
2019-07-16 20:54:42 -04:00
brusdev
29bbb94b5e
ARTEMIS-2408 Too many opened FDs after server stops
...
Wait netty event loop group shutdown to avoid too many opened FDs after
server stops, when netty configuration is used. Clear server
activateCallbacks to avoid reactivation of previous nodeManager and
consequent FD leaks on restart. Fix LargeServerMessageImpl.copy to avoid
FD leaks when a large message expiry or it is sent to DLA. Terminate
HawtDispatcher global queue to avoid pipes and eventpolls leaks after a
MQTT test.
cherry-picking commit 9617058ba0649af4eea15ce8793f86de827c4b7f
NO-JIRA adding check for open FD on the testsuite
cherry-picking commit 0facb7ddf4d3baa14a3add4290684aff7fd46053
NO-JIRA addressing connections leaks on integration tests
2019-07-16 13:36:42 -04:00
yang wei
85b93f0883
ARTEMIS-2336 Use zero copy to replicate journal/page/large message file
2019-07-15 23:51:42 +01:00
Dmitry Volodin
dbb3a90fe6
ARTEMIS-2322: Expose Queue.getRate() data as JMX metric
2019-07-15 16:34:31 -04:00
yang wei
fa46647818
ARTEMIS-2425 Message loss due to writing incomplete page file
2019-07-12 19:52:43 +08:00
Howard Gao
c66d62e4b0
ARTEMIS-2390 JMSMessageID header can be null when messages are cross-protocol
...
If a jms client (be it openwire, amqp, or core jms) receives a message that
is from a different protocol, the JMSMessageID maybe null when the
jms client expects it.
2019-06-27 10:26:34 -04:00
Shailendra Kumar Singh
a98d995783
ARTEMIS-2387 add scheduled-count and routing-type to queue stat CLI
2019-06-25 14:02:18 -05:00
Justin Bertram
886ae7bfc5
ARTEMIS-2395 empty address.txt causes NPE
2019-06-21 15:09:08 -04:00
Justin Bertram
3b82cad024
ARTEMIS-2391 static address may be auto-deleted
2019-06-21 15:01:36 -04:00
Andy
61a563ee95
ARTEMIS-2358 - fixing issue with last commit
...
https://issues.apache.org/jira/browse/ARTEMIS-2358
2019-06-20 10:21:02 +01:00
brusdev
9d12ad6501
ARTEMIS-2385 Log header for rejecting message with too large header
...
Use warning level to add in the log the ID and debug level to add in the
log the message header of rejecting message with too large header.
2019-06-19 11:26:33 -05:00
Andy
e82d95fff6
ARTEMIS-2338 - Live server does not shutdown when using vote-on-replication-failure
...
https://issues.apache.org/jira/browse/ARTEMIS-2338
2019-06-19 10:26:10 -05:00
Justin Bertram
3c5453d401
ARTEMIS-2384 log underlying bridge failure at DEBUG
2019-06-17 22:29:57 -04:00
Justin Bertram
3ff75c3353
ARTEMIS-1982 queue metrics can go negative
...
When redelivery is exhausted and messages are sent to a DLA with bindings
then some queue metrics can go negative.
2019-06-12 17:22:30 -04:00
Clebert Suconic
7e3b68a4cf
ARTEMIS-2367 Adding rule to avoid files leaking on the main folder
...
We had to fix a few cases where data folder was being created outside of the ./target output.
This is just to avoid re-ocurrence of that.
2019-06-12 12:10:28 -04:00
Andy
959d25f0e6
ARTEMIS-2377 - add password encryption to security plugins
...
https://issues.apache.org/jira/browse/ARTEMIS-2377
2019-06-11 19:16:33 +01:00
brusdev
9b52547ff7
ARTEMIS-2371 Message with huge header shuts broker down
...
Add max record size check before adding a record to prevent that the
broker shuts down, when there is one really large header sent with the
message. Add message size check before allocating large message resource
if it can't be stored.
2019-06-10 17:36:18 -04:00
Francesco Nigro
bfe6b70c5a
ARTEMIS-2374 JournalStorageManager::addBytesToLargeMessage leaks ByteBuffer
2019-06-10 15:52:58 +02:00
Tomas Hofman
097ef281fd
ARTEMIS-2069 Backup doesn't activate after shared store is reconnected
2019-06-10 13:36:43 +02:00
Justin Bertram
bde1b1cc4e
ARTEMIS-2367 fix directories for tests
2019-06-03 13:22:06 -05:00
Clebert Suconic
b7047faea5
NO-JIRA Adding checking for leaking server socket
2019-05-31 19:06:15 -04:00
brusdev
ef2ec7b56e
ARTEMIS-1011 Slow consumer detection after bursts
...
Fix slow consumer detection after a burst, taking into account messages
which are already in queue at the start of queueRateCheckTime period.
2019-05-31 12:21:28 -04:00
Justin Bertram
dbb2b54fa7
[maven-release-plugin] prepare for next development iteration
2019-05-29 22:02:00 -05:00
Justin Bertram
88c686cc99
[maven-release-plugin] prepare release 2.9.0
2019-05-29 21:59:18 -05:00
Clebert Suconic
4fa2e75cdc
ARTEMIS-2361 Bridge should make a copy of messages
...
and some improvements into ARTEMIS-2355
2019-05-29 16:35:01 -04:00
Francesco Nigro
0d273d2bb8
ARTEMIS-2347 JournalStorageManager::stopReplication can deadlock while stopping
...
AbstractJournalStorageManager::performCachedLargeMessageDeletes
must enforce acquisition of manager write lock (as documented)
to avoid unlucky racing calls of stopReplication while stopping
to deadlock.
2019-05-29 15:09:25 -04:00
Justin Bertram
5768f6e2f3
ARTEMIS-2308 Support exporting metrics
2019-05-29 15:07:45 -04:00
Andy
3fe2194139
ARTEMIS-2358 - Add user and pass to database store to allow encryption
...
https://issues.apache.org/jira/browse/ARTEMIS-2358
2019-05-29 11:30:35 -05:00
Andy
959c38bd8d
ARTEMIS-2352 - Add the ability to reject messages without a validated user set
...
https://issues.apache.org/jira/browse/ARTEMIS-2352
2019-05-29 09:42:38 -04:00
Andy
ca80662fd0
ARTEMIS-2346 - make timestamp human readable in console
...
https://issues.apache.org/jira/browse/ARTEMIS-2346
2019-05-21 15:24:51 -04:00
James Perkins
4fffc02778
ARTEMIS-2342 Use a URL instead of a URI for the logging.configuration property
...
The property the log manager itself expects is a URL which could result in an invalid URI missing the // prefix after file:.
2019-05-16 18:43:19 -04:00
Clebert Suconic
2ae732cfc8
[maven-release-plugin] prepare for next development iteration
2019-05-16 09:58:27 -04:00
Clebert Suconic
481b9824a8
[maven-release-plugin] prepare release 2.8.1
2019-05-16 09:58:15 -04:00
Clebert Suconic
ce92cc827e
NO-JIRA FileConfigurationParserTest creating data folder
...
FileConfigurationParserTest was creating a data folder.
This is simply disabling persistence from the configuration used by the server on this test as it is not needed.
2019-05-16 08:57:30 -04:00
Clebert Suconic
b9b6fddeea
ARTEMIS-2339 Compatibility around prefixing
...
There are a few issues with prefixing and compatibility.
This is basically an issue when integrated with Wildfly or any other case
where prefix is activated
and playing with older versions.
2019-05-15 17:49:03 -04:00
Justin Bertram
984a901d6a
ARTEMIS-2334 avoid potential NPE
2019-05-14 10:16:10 -05:00
Francesco Nigro
f2bac5ad08
ARTEMIS-2321 Non-blocking Page::read on page cache
2019-05-13 12:20:22 -04:00
Francesco Nigro
49836eca52
ARTEMIS-2321 PageCursorProviderImpl can use primitive maps
2019-05-13 10:24:17 -04:00
Francesco Nigro
30c82f43b0
ARTEMIS-2321 PageCursorInfo caches number of msgs to save Page::read
2019-05-13 10:24:17 -04:00
Francesco Nigro
b173bb5552
ARTEMIS-2321 Removed unnecessary volatile/Atomic operations and fields
2019-05-13 10:24:17 -04:00