| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
cert-name.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066508 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Management was using remote socket address (host:port) to identify
connections, but this is not a unique identifier. Both the local and
remote addresses are needed to uniquely identify a connection - see
http://www.faqs.org/rfcs/rfc793.html.
This was causing management errors (multiple objects using same
identifier) and cluster failures (invalid-arg exception) due to
inconsistencies caused by the incorrect management map.
This commit uses "localhost:localport-remotehost:remoteport" as a unique identifier.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066220 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Also moved regex compilation out of the loop to be more efficient.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066219 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
UpdateClient::consumerNumbering
Holding shared pointers in UpdateClient::consumerNumbering can hold
consumers in memory and delete them out of sync with other cluster
members. Made it hold plain pointers instead since we don't actually
need to ensure object liveness, we're just doing an address/number
correspondence.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066217 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
A few frames are sent in cluster-unsafe contexts, e.g. heartbeat timer
callbacks and during initial connection negotiation. Don't update the
connection's management counters in these contexts to avoid
inconsistent management data in a cluster. There are very few such
frames so this does not unduly distort the management data.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066215 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066097 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065961 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
The check for "h2xs" (which was there just to detect perl-devel) is no longer needed and was removed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065887 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
by Jose Pedro Oliveira
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065832 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
There's certainly a better way to find the include path for the perl-devel headers but
this will prevent builds from being broken.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064811 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
size and large wcache-page-size". The second issue from comments 13-16 in which the queue remains after the store throws the exception is solved.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064711 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Applied patch contributed by Hao Chang Yu
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
It turns out that PyInt_Check returns 'True' for booleans.
The order of the checks is now from most specific to least.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1063862 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
brokertest.py is a framework for tests using the C++ broker, so it
belongs in the cpp tree rather than the python tree.
It is installed to libexec/qpid/tests/ so it can be used from
an installation of qpid cpp.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061933 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061932 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
QMF V1 management messages were being batched by accumulating up to a
certain total size of data. Since management messages may have
different sizes on brokers in a cluster, this was leading to
inconsistencies.
This patch batches V1 messages by count rather than by size, similar
to V2 messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061308 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
The tests will be re-enabled when QPID-3007 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060879 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Applied patch from Dan Horák
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060815 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
cluster members.
Cluster update did not include federation link and bridge
objects. Fixed update to include them.
Management linkUp and linkDown events were generated only on the
broker receiving the link. Suppressed these events in a cluster.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060568 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060401 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060110 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1059846 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1059835 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Federated binds and unbinds need to know which federation origins
are associated with the bindings for each queue. When origins are
added or deleted, the corresponding bindings need to be
propagated.
fedBindings[queueName] contains the origins associated with the
given queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058747 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
was too large
to fir in the working buffer, the method was rejected. This change rejects the method only
if there is an ACL configured.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058710 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
than the
static buffer used for communication, allocate a large-enough buffer temporarily from the
heap.
A test is included to verify large-buffer behavior.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058709 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cluster_tests.test_management was showing discrepancy in management
object and deleted object count after a new member update.
In ManagementAgent.cpp, code to move deleted objects into
pendingDeletedObjs was duplicated in 2 places.
Moved duplicated code into a function moveDeletedObjectsLH()
Call moveDeletedObjectsLH from clusterUpdate to correct discrepancy in
object count around update.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058664 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Also allow hosts to be specified on command line.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058287 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
efficiency.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057825 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057814 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Enhanced the examples to show the passing of a DataAddr in an argument.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057774 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057747 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
1) Added public constructor for DataAddr(Variant::Map)
2) Fixed Python and Ruby typemaps to support Variant::Map& and Variant::List& with const
3) Added support for building Queries based on object-id maps in both Python and Ruby wrappers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057709 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057687 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057578 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
a reference to unmanaged memory:
* Function Cleanup() is deleted and cleanup is moved to Finalizer.
* Destructor calls Finalizer.
* Finalizer takes a lock before deleting unmanaged memory.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057350 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Automatically adds missing automake files to the project.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057342 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057302 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Updates to the agent examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057200 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
1) Consolidated string constants for the protocol into a definition file.
2) Added hooks for subscription handling.
3) Added checks to validate properties and arguments against the schema (if there is a schema).
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
1) Suppression of some warnings
2) Proper installation of artifacts in "make install"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056420 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
consistency.
The cluster_tests.py test_management test is augmented to compare
broker logs after the test completes. Any inconsistency in the logs
causes the test to fail. This check is currently disabled as it is
failing due to known issues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056378 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
1) Events in _data_indication messages are carried as lists of events (consistent with object data)
2) Built-in attributes for agents (in _heartbeaet_indication) all start with '_' to
differentiate them from user-defined attributes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056112 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056095 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056019 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Spell receiver correctly in the file name, and change two project references to the correct name.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1054709 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Add the boolean variation of Get() and Fetch().
Modify drain example to use the boolean Fetch.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1054684 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052331 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
- Removed lock unsafe operation Rdma::QueuePair::bufferAvailable()
and replaced the unavailable case with failing getBuffer().
- Improved asserts in the Rdma::QueuePair::getBuffer() code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052330 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
after sent frame (instead of sending it in immediate data).
Small change to send buffer management to support this to 0 dataCount
when returning buffers.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052329 13f79535-47bb-0310-9956-ffa450edef68
|