summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5650: Preserve alternate exchange on upgrade of queue with 'dead letter ↵Alex Rudyy2014-10-271-4/+1
| | | | | | queue' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6180: [Java Broker] Cannot create BDB HA group on Windows development ↵Andrew MacBean2014-10-241-1/+3
| | | | | | environment due to node folder not being reported as writable by Files.isWritable(Path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634023 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6125 : make coalescing committer commit on stop if environment still viableRobert Godfrey2014-10-221-10/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6154: [Java Broker] Fix race condition that would cause an ↵Keith Wall2014-10-221-17/+15
| | | | | | ReplicatedEnvironment to be leaked on restart git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6173: [Java Broker] Disallow attribute updates to the ↵Keith Wall2014-10-211-0/+9
| | | | | | BDBHAReplicaVirtualHost git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6154: [Java Broker] HA - Handle rollback of node when use of weak ↵Keith Wall2014-10-214-21/+145
| | | | | | durability has allowed nodes to diverge git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6161 : use vhost names rather than vhost node names for the name aliasesRobert Godfrey2014-10-211-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6169: [Java Broker] HA Prevent IllegalStateException possibility from ↵Keith Wall2014-10-201-2/+13
| | | | | | | | | remote state learner * Prevents a race condition between a node becoming master and the desired durability being read from store and set on the environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6161 : fix bdb ha tests where the vhn name differs from the vh name by ↵Robert Godfrey2014-10-171-6/+19
| | | | | | adding an alias into the config git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6125 : [Java Broker] AMQP 0-8/9/9-1 protocol handler refactoringRobert Godfrey2014-10-172-77/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632583 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] Enable client side logging during HA tests to help ↵Keith Wall2014-10-175-0/+8
| | | | | | diagnose a failing test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6149: Use better names for the domain of BDB HA node priorityAlex Rudyy2014-10-132-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631436 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6144: Throw ConnectionScopedRuntimeException for IllegalStateException ↵Alex Rudyy2014-10-108-50/+70
| | | | | | thrown from JE environment on restart git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630956 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6143: Throw ConnectionScopedRuntimeException from ↵Alex Rudyy2014-10-102-2/+21
| | | | | | ReplicatedEnvironmentFacade.openDatabase if facade is not opened or environment is invalid git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630922 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6134: [Java Broker] added operational logging call to additional ↵Andrew MacBean2014-10-101-0/+1
| | | | | | intruder detection logic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6134: [Java Broker] Restarting a node that has detected an intruder ↵Andrew MacBean2014-10-082-38/+107
| | | | | | should go back into the ERROR state not ACTIVE git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6136: [Java Broker] Set permitted nodes on replica BDB HA VHN only when ↵Alex Rudyy2014-10-082-4/+73
| | | | | | they are changed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630080 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] Improve logging to help understand sporadically failed ↵Keith Wall2014-10-071-1/+7
| | | | | | HA MultiNodeTest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629859 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] Strengthen ↵Alex Rudyy2014-10-031-0/+3
| | | | | | BDBHAVirtualHostNodeOperationalLoggingTest.testCreate to avoid sporadic failures git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629190 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6131: [Java Broker] Mark virtualhosts that are being closed as ↵Keith Wall2014-10-031-2/+2
| | | | | | UNAVAILABLE to prevent any new messaging connections being established git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6126: Add checks to allow operations with configured objects in ERRORED ↵Alex Rudyy2014-10-021-1/+2
| | | | | | state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6126: Improve validation and exception messages for BDB HA nodeAlex Rudyy2014-10-025-43/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1629010 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6126: Invoke on-create validation after common validation, delete CO if ↵Alex Rudyy2014-10-021-12/+17
| | | | | | creation fails on any stage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6126: Add ability to validate CO attributes on creation, transit COs ↵Alex Rudyy2014-10-015-36/+399
| | | | | | into ERRORED state if exception occurs on recovery, allow ERRORED CO restart after remediation of configuration problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] UI change to update BDB HA permitted nodes hidden ↵Andrew MacBean2014-09-291-0/+1
| | | | | | field correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6111: [Java Broker] Ensure that when the REF is shutdown sufficient ↵Keith Wall2014-09-241-10/+40
| | | | | | | | | | | time is allowed - bug fix used Math.min rather than Math.max. Also: * reduced the default envSetupTimeout from 15mins to 3mins. * log a warning if environment re-creation takes longer than 25% of the allowed timeout * whilst restarting, recheck the REF state to avoid needlessly recreating the environment if restart is no longer required (most likely owning to close) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6114: Migrate the State member variable to AbstractConfiguredObject classAlex Rudyy2014-09-242-17/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6111: [Java Broker] HA Tests - change JE tests to assert that JE ↵Keith Wall2014-09-234-71/+103
| | | | | | replication ports are always relinquished. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626955 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6111: [Java Broker] HA - Ensure that when the REF is shutdown ↵Keith Wall2014-09-231-28/+50
| | | | | | sufficient time is allowed to allow any in progress JE ReplicatedEnvironment to complete. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6102: [Java Broker] HA Prevent ↵Keith Wall2014-09-232-0/+113
| | | | | | InsufficientReplica/InsufficientAckExceptions and other exceptions that require JE environment restart from causing Broker shutdown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6075: fix for mocking issue in BDB profileAndrew MacBean2014-09-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6075: [Java Broker] Deleting VHN fails to delete underlying store files ↵Andrew MacBean2014-09-172-20/+12
| | | | | | if VHN has not been started git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6104: Fix test ReplicatedEnvironmentFacadeTest.testRemoveNodeFromGroupAlex Rudyy2014-09-161-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6075: [Java Broker] Deleting VHN fails to delete underlying store files ↵Andrew MacBean2014-09-153-34/+38
| | | | | | if VHN has not been started git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6092: [Java Broker] Editing permitted node list to be allowed when VHN ↵Andrew MacBean2014-09-121-1/+4
| | | | | | is master or in STOPPED/ERRORED state. UI (2/2) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6092: [Java Broker] Editing permitted node list to be allowed when VHN ↵Andrew MacBean2014-09-112-1/+62
| | | | | | is master or in STOPPED/ERRORED state. Server (1/2) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624299 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6090: [Java Broker] Change based on code review to protect against ↵Andrew MacBean2014-09-111-2/+2
| | | | | | intruder case git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6090: [Java Broker] Prevent removal of existing group nodes from the ↵Andrew MacBean2014-09-102-3/+69
| | | | | | permitted nodes attribute on VHN git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624012 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6080 : [Java Broker] Distinguish between empty message body and no ↵Robert Godfrey2014-09-071-1/+1
| | | | | | message body for 0-10 messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6074: [Java Broker] BDB HA VHN implement to use context variables ↵Keith Wall2014-09-065-19/+78
| | | | | | rather than system properties to control timeouts etc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622846 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] HA Downgrade logging of ↵Keith Wall2014-09-061-1/+1
| | | | | | | | com.sleepycat.je.rep.utilint.BinaryProtocol.ProtocolException It seems this exception can legitimately occur when a node checks (DbPings) a node that is being brought down git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6071: [Java Broker] Cause BDB HA to generate ping transaction if local ↵Keith Wall2014-09-062-4/+41
| | | | | | | | | | quorum settings are changed * If user changes the settings used to judge whether quorum is present (that is designated primary in the two node case and electable group override in the case of multi node groups), REF now generates a 'ping' transaction allow the node to promptly detect too few replicas. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622844 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6063: [Java Broker] BDB HA - report node role correctly after node ↵Keith Wall2014-09-041-7/+21
| | | | | | | | | restart in group without quorum or node error * if a node is restarted but there are too few nodes attached to achieve quorum, the role is now reported as WAITING (previously it was erroneously reported as DETACHED) * if a node goes into error state (for example in response to an intruder), the role is now reported as DETACHED (previously it continued to report its previous role) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622488 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6067: Fix test ↵Alex Rudyy2014-09-031-5/+32
| | | | | | BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeDetached git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6063: [Java Broker] Address review comments from Oleksandr Rudyy ↵Keith Wall2014-09-033-29/+25
| | | | | | <orudyy@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6063: [Java Broker] Disambiguate the concept of a node being ↵Keith Wall2014-09-0113-103/+162
| | | | | | unreachable from a node awaiting election git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621775 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6057: On intruder detection shutdown BDB HA node in UNINITIALIZED stateAlex Rudyy2014-08-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6055 : [Java Broker] add extra information to exception to help isolate ↵Robert Godfrey2014-08-291-1/+13
| | | | | | cause of exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6048: Move permitted nodes attribute into BDB HA VH in order to be able ↵Alex Rudyy2014-08-2724-362/+423
| | | | | | to identify the intruder node on node start-up git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6036 : [Java Broker] Allow complete virtual host initial configuration ↵Robert Godfrey2014-08-223-68/+76
| | | | | | to be passed in on creation of a virtualhost node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619918 13f79535-47bb-0310-9956-ffa450edef68