summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5409: Restart the former master environment on MASTER transferjava-broker-bdb-haAlex Rudyy2014-02-193-42/+181
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1569814 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409: Fix failing unit test ↵Alex Rudyy2014-02-194-16/+49
| | | | | | LocalReplicationNodeWithReplicatedEnvironmentFacadeTest#testSetRole git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1569813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409: Add UI for editing node attributesAlex Rudyy2014-02-176-15/+477
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1568923 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409: Add basic state management on local replication node and add ↵Alex Rudyy2014-02-1314-170/+921
| | | | | | ability to set the node state git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1567942 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Merge changes from the trunk in revisions 1564250:1567584 usingAlex Rudyy2014-02-12328-8345/+13496
|\ | | | | | | | | | | | | svn merge -r 1564250:1567584 https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1567616 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5546: Expose the get_content_object method in Perl.Darryl L. Pierce2014-02-113-3/+36
| | | | | | | | | | | | | | Updated the spout and drain examples to use this rather than encode/decode to retrieve the content of a message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567173 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : another fix for generics, this time working differently between ↵Robert Godfrey2014-02-111-3/+3
| | | | | | | | | | | | OpenJDK 1.6u27 and Oracle JDK 6u45 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567077 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : fix for different interpretation of generics in 1.6Robert Godfrey2014-02-113-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567063 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : refactring of queues, and introduce management node and ↵Robert Godfrey2014-02-11139-1544/+6442
| | | | | | | | | | | | amqp-management module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567026 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5531 : Adding an exclude to the Java Python test ignore list for the ↵Robert Godfrey2014-02-101-0/+3
| | | | | | | | | | | | test which was changed without the feature also being changed in the Java Broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1566579 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : allow for case where consumer target is closed before consumer ↵Robert Godfrey2014-02-102-4/+19
| | | | | | | | | | | | is attached git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1566543 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : Re-enable the use of no-local on consumers to queues in 0-8 protocolRobert Godfrey2014-02-105-8/+23
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1566535 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : fixed implementation of 0-8 GET when using NoAckRobert Godfrey2014-02-102-26/+59
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1566531 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : Fix bug in routeToAlternate which left queue entries in database ↵Robert Godfrey2014-02-101-22/+25
| | | | | | | | | | | | if there were no alternates to route to git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1566479 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5548: C++ Messaging API does not specify the connection Connection URL ↵Charles E. Rolke2014-02-071-218/+271
| | | | | | | | | | | | | | | | | | | | format Add Connection section and Connection URLs subsection. Demote Connection Options to be a subsection of Connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565819 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : Refactoring to allow for nodes other than queues to be ↵Robert Godfrey2014-02-07132-5163/+4890
| | | | | | | | | | | | subscribed from, and nodes other than exchanges to be sent to (merged from separate branch) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565726 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5547 : [Java Broker] When handling rejects in 0-8/9/9-1 treat queues ↵Robert Godfrey2014-02-072-1/+42
| | | | | | | | | | | | with no max delivery set as having infinite max delivery, rather than max delivery of 1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565701 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5499: Fix Ruby/Perl bindings when built with -Werror=format-securityDarryl L. Pierce2014-02-075-25/+25
| | | | | | | | | | | | Changed the swig descriptors so that they use a constant format string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565651 13f79535-47bb-0310-9956-ffa450edef68
| * NO-JIRA: Fix windows build problem introduced by r1565431 in ↵Alan Conway2014-02-061-3/+7
| | | | | | | | | | | | log/Statement.cpp commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565448 13f79535-47bb-0310-9956-ffa450edef68
| * NO-JIRA: Get rid of valgrind "rechable" block in logging statements.Alan Conway2014-02-063-38/+14
| | | | | | | | | | | | | | | | | | Each logging statement was allocating and not freeing a string, generating a huge number of harmless but annoying "blocks are still reachable". Fixed so the strings are freed at static destructor time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565431 13f79535-47bb-0310-9956-ffa450edef68
| * Author: Alan Conway <aconway@redhat.com>Alan Conway2014-02-062-2/+2
| | | | | | | | | | | | | | --- log message follows this NO-JIRA: Remove use of python built-in 'next', not available before python 2.6. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565382 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5524: ssl-cert-name connection argument processing in AMQP 1.0. cpp clientClifford Allan Jansen2014-02-064-1/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565376 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5544: HA memory leak in backup broker after shutdown.Alan Conway2014-02-066-109/+45
| | | | | | | | | | | | | | | | The memory leaks were due to shared_ptr cycles between the QueueReplicator, Bridge and Link objects. This patch breaks the cycles using weak_ptrs in the appropriate places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565340 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5048: Maven POM refactoring - names, descriptions, dependencies & versionsRobert Gemmell2014-02-0635-863/+767
| | | | | | | | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565303 13f79535-47bb-0310-9956-ffa450edef68
| * NO_JIRA: Added Apache license text to tx-text-soak.sh, updates to ↵Kim van der Riet2014-02-052-10/+33
| | | | | | | | | | | | linearstore ISSUES file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564935 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5361: Added a bash script which allows for transactional soak testing.Kim van der Riet2014-02-051-0/+234
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564893 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5480: Recovery of store failure with "JERR_MAP_NOTFOUND: Key not found ↵Kim van der Riet2014-02-0522-247/+371
| | | | | | | | | | | | in map." error message. Fixed numerous recovery issues, particularly the handling of files at the end of the file list during recovery when the last file is not used or incompletely written. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564877 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5362: Bugfixes and enhancements for qpid_qls_analyzeKim van der Riet2014-02-054-65/+150
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564808 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5541: HA incorrect options for expected-backups in qpid-ha toolAlan Conway2014-02-051-3/+0
| | | | | | | | | | | | Remove invalid --backup option from qpid-ha set and query commands. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564797 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5531: [C++ broker] Set timeout for every DTX transactionPavel Moravec2014-02-056-7/+41
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564694 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5540: use mutex to ensure single SCHANNEL_SHUTDOWNClifford Allan Jansen2014-02-052-6/+12
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564644 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5539: Separate credential processing for re-use in AMQP1.0 SSL transport.Clifford Allan Jansen2014-02-054-255/+365
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564611 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : remove unused inner classesRobert Godfrey2014-02-042-105/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564259 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : fix bug in DistributedTransaction when enqueuing a single ↵Robert Godfrey2014-02-041-1/+0
| | | | | | | | | | | | message - brought to light by earlier refactoring git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564258 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Save virtual host state in the virtual host configuration store. ↵Alex Rudyy2014-02-1224-432/+646
| | | | | | | | | | | | Restore VH state from the store. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1567576 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Environment thread is now used to perform set designated ↵Keith Wall2014-02-065-38/+108
| | | | | | | | | | | | primary/set electable group override/set node prioriy git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1565370 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Fix LocalReplicationNode#setAttribute, ignore exception thrown by ↵Keith Wall2014-02-064-71/+59
| | | | | | | | | | | | ReplicatedEnvironmentFacade in LocalReplicationNode#getAttribute git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1565369 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Refactor BDB HA MBean to delegate the operations to the ↵Keith Wall2014-02-0615-346/+454
| | | | | | | | | | | | | | | | underlying node configured object. Unregister BDB HA MBean on virtual host deletion or replication node removal git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1565308 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Refactor RemoteReplicationNode to delegate je calls to ↵Keith Wall2014-02-0510-96/+148
| | | | | | | | | | | | ReplicatedEnvironmentFacade git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1564815 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Add functionality to delete remote nodeKeith Wall2014-02-053-24/+79
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1564814 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5409: Add functionality into RemoteReplicationNode to change role ↵Keith Wall2014-02-056-23/+299
| | | | | | | | | | | | attribute from REPLICA to MASTER git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1564813 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: Merge changes from the trunk in revisions 1562452:1564250 usingKeith Wall2014-02-0486-622/+1515
|\ \ | |/ | | | | | | | | | | svn merge -r 1562452:1564250 https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1564254 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5528: HA add missing QPID_BROKER_EXTERN declarations.Alan Conway2014-02-031-4/+4
| | | | | | | | | | | | | | Missing from previous commit r1564010 | QPID-5528: HA Clean up error messages around rolled-back transactions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564120 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5528: HA Clean up error messages around rolled-back transactions.Alan Conway2014-02-0315-76/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple transaction test on a 3 node cluster generates a lot of errors and rollback messages in the broker logs even though the test code never rolls back a transaction. E.g. qpid-cluster-benchmark -b 20.0.20.200 -n1 -m 1000 -q3 -s2 -r2 --send-arg=--tx --send-arg=10 --receive-arg=--tx --receive-arg=10 The errors are caused by queues being deleted while backup brokers are using them. This happens a lot in the transaction test because a transactional session must create a new transaction when the previous one closes. When the session closes the open transaction is rolled back automatically. Thus there is almost always an empty transaction that is created then immediately rolled back at the end of the session. Backup brokers may still be in the process of subscribing to the transaction's replication queue at this point, causing (harmlesss) errors. This commit takes the following steps to clean up the unwanted error and rollback messages: HA TX messages cleaned up: - Remove log messages about rolling back/destroying empty transactions. - Remove misleading "backup disconnected" message for cancelled transactions. - Remove spurious warning about ignored unreplicated dequeues. - Include TxReplicator destroy in QueueReplicator mutex, idempotence check before destroy. Allow HA to suppress/modify broker exception logging: - Move broker exception logging into ErrorListener - Every SessionHandler has DefaultErrorListener that does the same logging as before. - Added SessionHandlerObserver to allow plugins to change the error listener. - HA plugin set ErrorListeners to log harmless exceptions as HA debug messages. Unrelated cleanup: - Broker now logs "incoming execution exceptions" as debug messages rather than ignoring. - Exception prefixes: don't add the prefix if already present. The exception test above should now pass without errors or rollback messages in the logs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564010 13f79535-47bb-0310-9956-ffa450edef68
| * NO-JIRA: minor additions to readmeGordon Sim2014-02-031-2/+5
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563950 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5519: ACL property/properties for paged queues - fixed typo, added ↵Pavel Moravec2014-02-034-14/+275
| | | | | | | | | | | | tests and documentation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563866 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5534: [C++ broker] Headers exchange can route a message to one queue ↵Pavel Moravec2014-02-032-1/+12
| | | | | | | | | | | | multiple times git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563863 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5504 : Adding missing classRobert Godfrey2014-02-031-0/+42
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563755 13f79535-47bb-0310-9956-ffa450edef68
| * NO-JIRA: add missing broker-core entries for the Ivy upload taskRobert Gemmell2014-02-021-0/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563704 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5519: ACL property/properties for paged queuesPavel Moravec2014-02-024-1/+61
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563628 13f79535-47bb-0310-9956-ffa450edef68