Commit Graph

89 Commits

Author SHA1 Message Date
Gary Tully 66e8011e9e https://issues.apache.org/jira/browse/AMQ-4485 - ensure cursor updates in same order as store orderindex via beforeCompletion with index lock. The before completion tracks ordered work that first thread completes as a unit. All updates to a destination are combined to a single sync, such that there is no cursor contention between transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1475734 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 12:47:20 +00:00
Hiram R. Chirino 163ad5d4a9 Fix for AMQ4472: We can eagerly close a txed consumer if it has not delivered any messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1471673 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 21:01:24 +00:00
Gary Tully 705b3c5f9d https://issues.apache.org/jira/browse/AMQ-4472 - test case that shows the problem with prefetched messages and delayed close till commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1470459 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 11:29:48 +00:00
Timothy A. Bish 7e53814928 Fix and test for: https://issues.apache.org/jira/browse/AMQ-4475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1469013 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:07:24 +00:00
Timothy A. Bish 3bf9d0cceb fix for: https://issues.apache.org/jira/browse/AMQ-4212
fix for: https://issues.apache.org/jira/browse/AMQ-2832

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1468171 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 18:08:15 +00:00
Timothy A. Bish 3f9b6ed391 fix and test for: https://issues.apache.org/jira/browse/AMQ-4469
Rewrote the unit test as a JUnit 4 test and remove hard coded 61616 port dep. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467510 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 23:02:48 +00:00
Timothy A. Bish 2aba7845db AMQ-4212 Add KahaDB v4 data for use in testing the upgrade to v5 that this issue requires.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467377 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 17:42:18 +00:00
Bosanac Dejan 15affd0755 https://issues.apache.org/jira/browse/AMQ-3706 - improve rebalance distribution which is more apparent when only two brokers are involved
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467241 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 11:52:15 +00:00
Timothy A. Bish c7308a1183 Add a KahaDB trace entry for reference.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467106 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 21:45:16 +00:00
Timothy A. Bish 2aff82c47a fix and test for: https://issues.apache.org/jira/browse/AMQ-4464
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1466131 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:05:21 +00:00
Timothy A. Bish a80c711d78 fix for: https://issues.apache.org/jira/browse/AMQ-4463
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465814 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 22:34:04 +00:00
Bosanac Dejan 585a966a9b https://issues.apache.org/jira/browse/AMQ-4461 - priority backup with multiple brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465683 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 16:58:21 +00:00
Timothy A. Bish 0054941a53 fix and test for: https://issues.apache.org/jira/browse/AMQ-4356
The actual Durable subscription wasn't getting removed from the Store so on restart they were recovered.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464729 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:30:00 +00:00
Timothy A. Bish 1b38caacf4 fix junit warnings. https://issues.apache.org/jira/browse/AMQ-4437
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464584 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 15:00:05 +00:00
Timothy A. Bish 8e388b86d6 fix and test for: https://issues.apache.org/jira/browse/AMQ-4361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464165 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 19:22:16 +00:00
Timothy A. Bish 14b91d41b5 patch some test code: https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462346 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 23:12:48 +00:00
Timothy A. Bish f7f294f059 test code updates to address: https://issues.apache.org/jira/browse/AMQ-4415
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462252 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:42:40 +00:00
Timothy A. Bish b52c371cd9 fix for: https://issues.apache.org/jira/browse/AMQ-4364
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462210 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 16:36:57 +00:00
Gary Tully ed6c472601 https://issues.apache.org/jira/browse/AMQ-4407 - thanks for the test, to fix we need to ensure a persistence adapter is started, b/c it is stopped when the last dest is removed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461528 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 11:22:58 +00:00
Gary Tully 78bedd605a https://issues.apache.org/jira/browse/AMQ-4408 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461362 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 22:56:16 +00:00
Christian Posta bcb768c14d Updated to take into account scenario from mailing list where durable sub would connect.reconnect every second message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461153 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:30:36 +00:00
Timothy A. Bish 6cdf756e91 fix for: https://issues.apache.org/jira/browse/AMQ-4389
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458514 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 21:02:24 +00:00
Timothy A. Bish 84eab9b5bb fix for: https://issues.apache.org/jira/browse/AMQ-4388
fix for: https://issues.apache.org/jira/browse/AMQ-4387

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458015 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:29:30 +00:00
Timothy A. Bish 1d9b347157 fix for: https://issues.apache.org/jira/browse/AMQ-4386
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:07:51 +00:00
Timothy A. Bish 4cbfbbb10c fix for: https://issues.apache.org/jira/browse/AMQ-4385
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 19:53:39 +00:00
Timothy A. Bish 95f17c2040 fix for: https://issues.apache.org/jira/browse/AMQ-4384
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457917 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:52:32 +00:00
Timothy A. Bish f87f56294d fix and test for: https://issues.apache.org/jira/browse/AMQ-4373
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1456485 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:38:01 +00:00
Hiram R. Chirino 4c5197711a Fixes AMQ4368. Make sure we don't try to GC the database midway through a store operation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455661 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 18:22:59 +00:00
Hiram R. Chirino 846cf7df3f Added at test case and fix for AMQ-4351.
Avoids deadlock by not holding on to the pending and dispatch locks when we try to detach a durable sub from a topic.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455290 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 19:18:23 +00:00
Gary Tully 885b8c9775 fix up tck violation on xasession interface after close expectations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 15:22:17 +00:00
Gary Tully c6c3b2351a https://issues.apache.org/jira/browse/AMQ-4364 - relevant test that works ok
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454333 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:57:20 +00:00
Gary Tully fc15f130d1 https://issues.apache.org/jira/browse/AMQ-4362 - Broker-based redelivery plugin - support for maximumRedeliveries="-1"
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454330 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:43:46 +00:00
Timothy A. Bish 2d46399ff3 fix for: https://issues.apache.org/jira/browse/AMQ-4363
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453964 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 17:12:51 +00:00
Bosanac Dejan 5bc37afb3b test for some mbean queries
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 13:55:39 +00:00
Timothy A. Bish c46c040122 Don't use hard coded port for the Broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1452371 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 16:27:03 +00:00
Timothy A. Bish d8aca93328 apply patch for: https://issues.apache.org/jira/browse/AMQ-4355
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1451608 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 14:55:20 +00:00
Gary Tully aa88843e72 fix pom exclusion for failing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450243 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 16:05:07 +00:00
Gary Tully 4d9f7080d4 ensure test can find basedir
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450226 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:40:53 +00:00
Timothy A. Bish 7e61d56ca2 fix for: https://issues.apache.org/jira/browse/AMQ-4345
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449904 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 21:18:07 +00:00
Timothy A. Bish 8b3761c575 fix for: https://issues.apache.org/jira/browse/AMQ-4319
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449797 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 18:24:20 +00:00
Gary Tully 74bccd57c6 some more sanity to this renew test, https://issues.apache.org/jira/browse/AMQ-4122
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449184 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 19:51:04 +00:00
Timothy A. Bish 7a0b32b82b apply patch for: https://issues.apache.org/jira/browse/AMQ-4342
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449157 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 18:25:13 +00:00
Gary Tully bebffd0e8f https://issues.apache.org/jira/browse/AMQ-4333 - fix and ensure existing test is executed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449080 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:47:36 +00:00
Timothy A. Bish d75e418c3d https://issues.apache.org/jira/browse/AMQ-4330
Merge back the isSlave() JMS API. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449077 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:32:26 +00:00
Timothy A. Bish 6bf22224dd applied patch for: https://issues.apache.org/jira/browse/AMQ-4332
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448299 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 17:04:40 +00:00
Gary Tully def8c77c07 Revert "Fix for https://issues.apache.org/jira/browse/AMQ-4000 Durable subscription not getting unregistered on networked broker, thanks torsten for the unit test!"
added DurableSubInBrokerNetworkTest to broken test profile till we get this resolved.

This reverts commit b7c32d924a.

Conflicts:
	activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubInBrokerNetworkTest.java

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448161 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 13:33:36 +00:00
Gary Tully 5b5a818f4d more exclusions - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447725 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 14:13:49 +00:00
Gary Tully f4bed15738 https://issues.apache.org/jira/browse/AMQ-4328 - regression in AMQ3274Test, need to sync demand sub creation on async vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447715 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 13:33:20 +00:00
Gary Tully 97655400e9 another leveldb scenario needing work - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447701 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:29 +00:00
Gary Tully 548e52cde4 another leveldb scenario that needs some investigation, but use case seems dubious - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447700 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:08 +00:00