summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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-6126: Improve validation and exception messages for BDB HA nodeAlex Rudyy2014-10-024-42/+40
| | | | 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-231-0/+2
| | | | | | 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-0110-82/+140
| | | | | | 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-2720-323/+337
| | | | | | 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
* QPID-6018 : [Java Broker] Add an attribute to the ManagedObject annotation ↵Robert Godfrey2014-08-191-1/+1
| | | | | | to signify that the given object should not be registered in the meta-data registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618846 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6016: [Java Broker] Improve Web Management Console error handlingKeith Wall2014-08-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6014 : [Java] declare variables as ConcurrentMap not ConcurrentHashMap ↵Robert Godfrey2014-08-182-11/+11
| | | | | | to avoid linking issues after compiling under Java 8 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6006: [Java Broker] UI to expose attribute defaults during create and ↵Keith Wall2014-08-168-79/+67
| | | | | | | | | | edit workflows * Metadata service now used to discover the attributes for each category instance type. * Create/edit dialogues now have promptMessages to provide a fuller description of the field's purpose * If the attribute has a default, the default is interpolated into the promptMessage in a standard way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6005 : [Java Broker] AMQP 1.0 messages cannot be recovered from the ↵Robert Godfrey2014-08-151-1/+1
| | | | | | store on restart git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5998: Fix HA operational loggingAlex Rudyy2014-08-156-193/+218
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5994: Fix ocasionally failing test ↵Alex Rudyy2014-08-131-14/+41
| | | | | | BDBHAVirtualHostNodeOperationalLoggingTest.testRemoteNodeReAttached git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5991: [Java System Tests] Rename tests to have better structure; Remove ↵Keith Wall2014-08-131-1/+1
| | | | | | some duplication between tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617668 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: [Java Broker Tests] Add missing test assertion and extra logging ↵Keith Wall2014-08-121-0/+10
| | | | | | to understand occasional failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: Fix BDB HA VHN system testsAlex Rudyy2014-08-121-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5988: [Java Broker] Default VHN/VH store paths to path location based ↵Keith Wall2014-08-116-14/+6
| | | | | | on QPID_WORK git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: Set permitted nodes on a replica from application state of a ↵Alex Rudyy2014-08-113-85/+148
| | | | | | master node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617322 13f79535-47bb-0310-9956-ffa450edef68