<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/qpid-python.git/cpp/src/qpid/ha, branch java-broker-vhost-refactor</title>
<subtitle>git.apache.org: qpid.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/'/>
<entry>
<title>Fix compile warning on Visual Studio. NO-JIRA.</title>
<updated>2013-06-07T22:38:17+00:00</updated>
<author>
<name>Stephen D. Huston</name>
<email>shuston@apache.org</email>
</author>
<published>2013-06-07T22:38:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=988b1e0ac5f19c6a978b08fae6bb9419c1d4b5c4'/>
<id>988b1e0ac5f19c6a978b08fae6bb9419c1d4b5c4</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1490856 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1490856 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4866: HA support for failover exchange</title>
<updated>2013-05-22T23:52:17+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-22T23:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=91765a4f8d32be015cac0009c8a058277c547b23'/>
<id>91765a4f8d32be015cac0009c8a058277c547b23</id>
<content type='text'>
Add support for the "amq.failover" exchange with new HA, to support migration of
clients that used this facility with the old cluster.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1485511 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the "amq.failover" exchange with new HA, to support migration of
clients that used this facility with the old cluster.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1485511 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>NO-JIRA: HA Use qpid::Address in ha::BrokerInfo rather than host/port.</title>
<updated>2013-05-16T01:02:37+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-16T01:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=48b27cd9ed8c2780cbfd1cb25074981f9e7be407'/>
<id>48b27cd9ed8c2780cbfd1cb25074981f9e7be407</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483138 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483138 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4850: HA Sporadic stall in ha_tests.test_failover_send_receive</title>
<updated>2013-05-15T21:53:55+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-15T21:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=f03145f800b4e13ca5bc168855e0dbb62994c73a'/>
<id>f03145f800b4e13ca5bc168855e0dbb62994c73a</id>
<content type='text'>
Fixed a deadlock in the test: test was killing a backup broker then waiting to
pass a checkpoint: however if the backup was expected by the primary, the primary
holds queues till it connects, so we deadlock.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483107 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a deadlock in the test: test was killing a backup broker then waiting to
pass a checkpoint: however if the backup was expected by the primary, the primary
holds queues till it connects, so we deadlock.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483107 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4745: HA safe port allocation for brokers in HA tests.</title>
<updated>2013-05-15T15:03:44+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-15T15:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=c410b47cb23dd72cacd7fd4f4a224576b017af37'/>
<id>c410b47cb23dd72cacd7fd4f4a224576b017af37</id>
<content type='text'>
Many HA tests use --port=0 to start a broker on an available port, but then need
to shutdown and restart the broker on the same port. This is not safe, on a busy
system it is possible for another process to take the port between the time the
broker is shut down and the time it is restarted.

The solution is to do bind(0) and listen in the python test framework (class
HaPort) and let the broker use the socket using qpidd --socket-fd. When the
broker is shut down the port remains bound by the python process. When the
broker is re-started it again is given access to the socket via --socket-fd.

Other changes
- move ha_store_tests into ha_tests.
- add heartbeats to avoid stalling.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482881 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many HA tests use --port=0 to start a broker on an available port, but then need
to shutdown and restart the broker on the same port. This is not safe, on a busy
system it is possible for another process to take the port between the time the
broker is shut down and the time it is restarted.

The solution is to do bind(0) and listen in the python test framework (class
HaPort) and let the broker use the socket using qpidd --socket-fd. When the
broker is shut down the port remains bound by the python process. When the
broker is re-started it again is given access to the socket via --socket-fd.

Other changes
- move ha_store_tests into ha_tests.
- add heartbeats to avoid stalling.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482881 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4839: HA Sporadic failure of ha_tests.test_join_ready_cluster</title>
<updated>2013-05-14T17:44:01+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-14T17:44:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=a65e50afc4156c15964e29ffe32192e659ed677d'/>
<id>a65e50afc4156c15964e29ffe32192e659ed677d</id>
<content type='text'>
Bug in StatusCheck, was setting fetch timeout to uninitialized value
which was sometimes 0, causing an immediate timeout of fetch.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482481 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug in StatusCheck, was setting fetch timeout to uninitialized value
which was sometimes 0, causing an immediate timeout of fetch.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1482481 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>NO-JIRA: Fix harmless but annoying Visual Studio warning</title>
<updated>2013-05-08T20:15:37+00:00</updated>
<author>
<name>Andrew Stitcher</name>
<email>astitcher@apache.org</email>
</author>
<published>2013-05-08T20:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=65813bd10e4ebc3276615e21c51b29b3bcb3c08c'/>
<id>65813bd10e4ebc3276615e21c51b29b3bcb3c08c</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1480438 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1480438 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>NO-JIRA: Remove "FIXME" string inadvertently left in code.</title>
<updated>2013-05-01T17:44:58+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-05-01T17:44:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=6e649beb7df50f02a338ab317a0f08537914724c'/>
<id>6e649beb7df50f02a338ab317a0f08537914724c</id>
<content type='text'>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1478114 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1478114 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4787: HA brokers find self-address in brokers_url.</title>
<updated>2013-04-29T15:57:59+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-04-29T15:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=229dd0ea527beec82f3217c94b993c5e66286993'/>
<id>229dd0ea527beec82f3217c94b993c5e66286993</id>
<content type='text'>
HA brokers need to know their own addresses, but it is not safe to simply use
local hosts name and Broker::getPort() since the broker may be listening on
multiple addresses. The solution is to have brokers check the ha-rokers-url for
their own address while doing the initial status check of the cluster.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1477165 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HA brokers need to know their own addresses, but it is not safe to simply use
local hosts name and Broker::getPort() since the broker may be listening on
multiple addresses. The solution is to have brokers check the ha-rokers-url for
their own address while doing the initial status check of the cluster.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1477165 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
<entry>
<title>QPID-4780: Bug 889552 - HA broker deadlock after loss of primary broker.</title>
<updated>2013-04-26T17:28:26+00:00</updated>
<author>
<name>Alan Conway</name>
<email>aconway@apache.org</email>
</author>
<published>2013-04-26T17:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/qpid-python.git/commit/?id=af316c93e90bc8790d209e96776bcd17b4ec5e98'/>
<id>af316c93e90bc8790d209e96776bcd17b4ec5e98</id>
<content type='text'>
Lock ordering deadlock found by inspection of code and stack trace:

- thread 1: Link::ioThreadProcessing(Link:lock)-&gt; QueueReplicator::initializeBridge(QueueReplicator::lock)
- thread 2: QueueReplicator::destroy(QueueReplicator::lock)-&gt; Bridge::destroy(Link::lock)

This patch breaks the lock by removing locking around Bridge::destroy in QueueReplicator::destroy.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1476305 13f79535-47bb-0310-9956-ffa450edef68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lock ordering deadlock found by inspection of code and stack trace:

- thread 1: Link::ioThreadProcessing(Link:lock)-&gt; QueueReplicator::initializeBridge(QueueReplicator::lock)
- thread 2: QueueReplicator::destroy(QueueReplicator::lock)-&gt; Bridge::destroy(Link::lock)

This patch breaks the lock by removing locking around Bridge::destroy in QueueReplicator::destroy.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1476305 13f79535-47bb-0310-9956-ffa450edef68
</pre>
</div>
</content>
</entry>
</feed>
