Hiram Chirino
bdb24ee7c7
Fixes AMQ-5176: Support building ActiveMQ using Java 8 JDK
2014-05-07 10:53:51 -04:00
gtully
ad1f751a41
https://issues.apache.org/jira/browse/AMQ-5077 - reduce reader thread work when client uses async send; async store updates can now queue up to the destination memory limit b/c they don't block the send thread. Pending store writes are now tracked in memory usage. This allows a client to quickly provide a burst of messages to fill the destination cache bounded only by network bandwidth
2014-04-30 16:13:18 +01:00
gtully
266d23ef79
revisit https://issues.apache.org/jira/browse/AMQ-3519 with more durable solution https://issues.apache.org/jira/browse/AMQ-5068 - JMSRedelivered header now persisted before dispatch so that it is a reliable indication of a possible duplicate delivery. The option is enabled via destination policy persistJMSRedelivered
2014-03-26 11:16:42 +00:00
Hiram Chirino
db321727c9
Fixes AMQ-5115: LevelDB sync=true is not being honored.
2014-03-21 12:54:55 -04:00
gtully
cb6941ee0b
https://issues.apache.org/jira/browse/AMQ-4886 - think the sync on shutdown issue is resolved and the test will no longer hang
2014-03-20 14:14:31 +00:00
Kevin Earls
4ca5519e9b
Reduced timeouts from 60 to 10 minutes to avoid long CI hangs
2014-02-20 14:21:02 +01:00
Daniel Kulp
43a88a9367
Get mvn eclipse:eclipse work for the leveldb stuff
2014-02-05 11:41:22 -05:00
Hadrian Zbarcea
d36e3c0e95
AMQ-5005. Fix for scala plugin
2014-01-30 15:43:45 -05:00
Kevin Earls
c027552035
Upgraded surefire plugin to 2.16. AMQ-5006
2014-01-30 14:22:44 +01:00
gtully
0f0c0d676a
fix leveldb version of org.apache.activemq.bugs.AMQ2870Test#testSize
2014-01-07 16:54:18 +00:00
Hiram Chirino
30f3a9b7f3
Default flushDelay on the replicated leveldb store did not have the correct default.
2013-12-05 13:38:52 -05:00
Hiram Chirino
ed8e4eae8f
Fixes https://issues.apache.org/jira/browse/AMQ-4923 : Replicated LevelDB: Loss of broker Quorum fails to fully stop the master
2013-12-05 13:38:52 -05:00
Hiram Chirino
3b5fa4bf89
Implementing a dirty stop method for the leveldb store that might come in handy for testing.
2013-12-05 09:24:10 -05:00
Hiram Chirino
8378cb1ffc
Fixing https://issues.apache.org/jira/browse/AMQ-4917 : LevelDB store can fail when using durable subs.
...
We were browsing durable sub entries which had been concurrently GCed causing leveldb store failures which then caused the broker to restart.
2013-12-04 12:09:47 -05:00
Hiram Chirino
5fa462a08a
Adding assertions to make sure that we only append to the log from the write thread. Found a code path that was appending to the log from a different thread. This might have been affecting https://issues.apache.org/jira/browse/AMQ-4882
2013-12-03 12:05:16 -05:00
Hiram Chirino
61e13fa6ce
Fixing regression caused by changes to SuppressRelyException in commit b0e91d47f5
.
2013-12-02 12:29:21 -05:00
Hiram Chirino
b0e91d47f5
Have the leveldb store thorw SuppressReplyExceptions instead of IOExceptions so that the clients retry try the operations instead of giving up. Also retry the problemantic getMessage() call which seems to fail at times.
2013-11-25 13:17:58 -05:00
Claus Ibsen
00cb9a5668
AMQ-4858: Moved scala source file from java to scala dir. Thanks to Jaromir Hamala for patch.
2013-11-22 11:25:08 +01:00
Claus Ibsen
c0090f6f0c
AMQ-4885: Renamed some API methods in MessageStore due typos.
2013-11-22 11:21:42 +01:00
Timothy Bish
38ab4b10a4
https://issues.apache.org/jira/browse/AMQ-4855
...
Deprecate the misspelled subcription named getters and use the correctly
spelled versions where the older ones are in use.
2013-11-11 11:40:07 -05:00
Hiram Chirino
42e1c463d4
Replicated leveldb slaves index snapshots were being labeled with higher journal positions than what they really contained.
2013-11-08 10:34:21 -05:00
Hiram Chirino
4367ec1b82
If a replicated leveldb slave's connection gets slow, lets merge together journal write events to avoid them queuing up on the master side.
2013-11-05 11:53:37 -05:00
Hiram Chirino
a907fc9e94
leveldb store: Add more log traces for when we need to get more details on what's going on.
2013-11-04 09:26:01 -05:00
Hiram Chirino
b1d8cbe4cd
Fixes for leveldb replication: make sure we only apply index updates when we encounter a UOW_END_RECORD so that we don't end up with an inconsistent index if a partial UOW is replicated.
2013-11-04 09:26:01 -05:00
Hiram Chirino
dea38e62f8
leveldb replication: Lets always download the current append log just to be safe
2013-11-04 09:26:01 -05:00
Hiram Chirino
2824a94af4
Continue to append to the last leveldb log file on a store restart.
2013-11-04 09:26:01 -05:00
Hiram Chirino
190da29691
Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
...
- The tracked flushed offset was not getting initialized to match the initial size of the log file. This invalid flushed offset was being used to do the initial sync /w the slave and then things went downhill.
2013-11-01 12:13:33 -04:00
Hiram Chirino
24d5490e57
Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
...
- Log rotation was causing a pre-mature index snapshot to be taken on the slave (snapshot while the slave was still synchronizing).
- Also fix issue with the append position displayed in JMX for the master not being correct.
2013-10-31 12:52:50 -04:00
Hiram Chirino
3ed52ef8a2
Working on a test case for https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
2013-10-30 15:44:06 -04:00
Hiram Chirino
17415ceecd
Only register the leveldb store MBeans in JMX if jmx is enabled on the broker.
2013-10-30 15:34:29 -04:00
Hiram Chirino
aaa1a74dfb
Add a toString() method to the replicated leveldb store so that it displays a nicer message when the broker starts it up.
2013-10-30 12:22:28 -04:00
Hiram Chirino
1896d27409
Update to the latest leveldbjni release.
2013-10-17 09:30:07 -04:00
Hiram Chirino
ef45a5f8ff
Avoid NullPointerExceptions that can occur during leveldb replication M/S state transitions.
2013-10-15 12:43:00 -04:00
gtully
864aa6798f
[maven-release-plugin] prepare for next development iteration
2013-10-14 23:38:35 +01:00
gtully
87c9bbebac
[maven-release-plugin] prepare release activemq-5.9.0
2013-10-14 23:38:22 +01:00
Hiram Chirino
d44c8968c4
Expose a JMX attribute to show when the last leveldb replication log entry was recorded.
...
This can be used to get a time estimate of far behind a master a slave is.
2013-10-14 08:45:54 -04:00
gtully
ee0933c71e
[maven-release-plugin] prepare for next development iteration
2013-10-11 14:51:36 +01:00
gtully
b276006911
[maven-release-plugin] prepare release activemq-5.9.0
2013-10-11 14:51:24 +01:00
Claus Ibsen
59af7479b2
Polished the logging
2013-10-11 11:20:22 +02:00
Hiram Chirino
0214bfbfcd
Support weighting the leveldb store replication nodes so that some have a better chance of becoming the master than others.
2013-10-10 15:42:02 -04:00
Hiram Chirino
e90ce1aabb
Don't display leveldb replication recovery progress on slave nodes.
2013-10-10 14:52:07 -04:00
gtully
4f108cead5
fix up missing license headers - keep mr. rat happy :-)
2013-10-10 11:41:58 +01:00
Hiram Chirino
d609d2ae38
Make sure the leveldb append log file is flushed to disk before it's closed to avoid data loss.
2013-10-09 11:49:11 -04:00
Hiram Chirino
5e63ddd337
Fixing bug which caused replicated leveldb nodes to not recover from a ZooKeeper failure.
2013-10-09 10:56:34 -04:00
Hiram Chirino
119fdab1d0
Fixes leveldb replication bug that can cause read errors: make sure that log is flushed for records that are being read.
2013-10-09 09:15:48 -04:00
Hiram Chirino
a5ac1a3630
Avoid logging ZooKeeper related exceptions during a replicated leveldb store shutdown.
2013-10-03 10:42:45 -04:00
Hiram Chirino
b720b264e3
The the hostname on the replicated leveldb store test so that the test works better on machines with weird DNS settings.
2013-10-02 12:15:36 -04:00
Hiram Chirino
0b66abcbfb
Fixing leveldb replication bug where loosing quorum did not properly restart the master in a clean way.
2013-10-02 12:15:36 -04:00
Hiram Chirino
8804341c19
Adding more debug info to help trouble shoot election issues with leveldb replication elections.
2013-10-02 10:45:58 -04:00
Hiram Chirino
f75520fc8b
Implementing AMQ-4744: Support using LevelDB as a nested store in mKahaDB
2013-09-27 09:19:48 -04:00