| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444934 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Constrain maximum limits to be a few ticks below Uint16_t max to avoid inadvertent wrapping and to allow room for some named constants such as UNLIMITED.
2. Add syntax to Acl rule file
quota connections N user|group [user|group]
3. Pseudo user 'all' receives value from command line switch or from Acl rule file.
4. Named constant strings used in comparisons instead of local strings.
5. Connection counts maintained all the time to support reolad of Acl rule file that may change limits.
6. Self tests exercise all the features.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444302 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444277 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Minor reorganization to make things clearer. It was not at all obvious what
declaredExclusive mean, isTemporary makes more sense (suggested by gsim
https://reviews.apache.org/r/9258/)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444200 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
This is set when the queue is created, before calling
ConfigurationObserver::queueCreate, and does not change thereafter.
The existing Queue::owner not set until after ConfigurationObserver::queueCreate
and does change as ownership can be released and acquired.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443679 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arguments.
Previously both Primary and Backup would calculate the qpid.replicate value
independently, assuming the result would be the same. In the case of exclusive
queues, the exclusivity can change over time so its possible that primary and
backup won't agree.
Now only Primary does the calculation with exclusive, auto-delete etc. and puts
an explicity qpid.replicate in the queue or event arguments. Backup uses the
value set by primary.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443678 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
This test was missing so if there were no backed-up queues the backup would
never be marked ready. It was workig because of a separte bug:
auto-delete/exclusive queues were being replicated incorrectly so there were
always replicated queues (temp queues created by qpid-ha)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443677 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
alternate.
Previously threw an exception in this case which shut down the broker.
Log warning instead, this is not a fatal event.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443676 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442898 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442871 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442775 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
This was discovered while investigating QPID-4555 but could affect any consumer
using bounded credt.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441163 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
It was possible for a membership update to erase a broker it's own membership.
This caused infrequent core dumps while running ha_tests.test_failover_send_receive.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441162 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Sporadic failure of test_failover_python was caused by a race in rejecting
connections. There was a very small window where work could be done by a
connection after it was rejected.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441161 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Unregister as a ConnectionObserver and Exchange at shutdown.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441160 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
- If cancelled could delay a message without recording it.
- Make all actions involving the delayed set and the AsyncCompletion atomic.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441158 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ha_tests.ReplicationTests.test_auto_delete_timeout
The tests were not waiting for the cluster to be ready before starting.
Updated HaCluster to wait by default before returning.
Increase timeout in calls to wait_no_queue, the default timeout of 1 sec was the same
as the auto-delete timeout.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441157 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
- Removed all unnecessary includes from qpid/broker/Connection.h
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440778 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440617 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440616 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1439431 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
NO-JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438776 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce Role base class. Primary and Backup are now subclasses of Role. Moved
backup/primary specific code from HaBroker to the Backup and Primary roles.
HaBroker always holds a single Role, via a thread-safe RoleHolder. RoleHolder
ensures atomic transition between roles: the old role is deleted before the new
role is created.
Membership is now independently thread safe, breaking the potential deadlock
between HaBroker and the Roles.
Logging improvements and other minor cleanup.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1437771 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1437742 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1437188 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1437187 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
work for SSL client connections too.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1437101 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
messages were moved.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1436517 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1436504 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
for Boost filesystem in Windows.
The code in FileSysDir that used Boost is rewritten to use simple windows native calls instead.
Now Boost filesystem is not used at all. All references in CMakeLists.txt are removed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1435326 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Fixes issue introduced in r1432273, causing build failures on windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433655 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433143 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
Check for libaio and uuid.
Fix logic error that allowed build to proceed when DB_FOUND was false.
Remove unnecessary 'rt' from link.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433127 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Remove passive code from Link and LinkRegistry, only used by defunct cluster code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433089 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433072 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
advertise all its network interfaces as potential failover endpoints.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433061 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Clean up obsolete code sasl_fed_ex related to defunct cluster testing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433056 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Clean up obsolete code in SessionImpl class used only by defunct cluster code:
- Remove SessionImpl::send reframe parameter.
- Remove doClearDeliveryPropertiesExchange flag.
- Remove disableAutoDetach and autoDetach flag.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433055 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Remove management fucntions used to import/export data from the cluster module.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433054 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433053 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several fixes were required in the code to correct this problem:
- Missing break statement in switch.
- Remove unused function HaBroker::resetMembership
- Abort connection of timed-out backups so they can attempt to reconnect.
- New primary resets membership before allowing backups to connect.
- Test for and ignore double-promotion.
- HaBroker: dynamic logPrefix() shows status. Made status atomic for efficient access for log messages.
- Update primary status in membership.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1432273 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1432263 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Add new legacystore.cmake to EXTRA_DIST in makefile suite.
Fix cmake scripts for core library and tests.
Note: Tests are not truly integrated. Four standalone unit tests are starters for proving functionality.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431635 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
This is a real fix, a replacement for r1431435, which was
written by a crazy person.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431548 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431509 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431493 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431435 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
More cut-n-paste cargo cult programming
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431116 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Change EnvOptMapper::configFileLine to take ar arg telling it if
it's OK to have unknown args or not. If not, throw upon encountering.
From the higher level of run_broker(), there are two passes of
arg parsing. In the first pass it's normal to have unknown args,
because the loadable modules are not loaded yet. But I change the
second parsing to pass down the arg that says "unknowns are not okay."
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1431016 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
code on outgoing connections so that the Link code can correlate the
connection with the Link using the name.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1430573 13f79535-47bb-0310-9956-ffa450edef68
|