OpenStack library for messaging
Go to file
Mehdi Abaakouk 16ee9a8683 Refactor the replies waiter code
This changes improves the way of we wait for replies.
Currently, one of the rpc client is reponsible to poll the amqp connection
used for replies and passed received answers to the correct client.

In this way, we have some case if no client is waiting for a reply, the
connection is not polled and no IO are done on the wire. The direct
effect of that is we don't detect if the tcp connection is broken,
from the system point of view, the tcp connection stay alive even if someone
between the client and server have closed the connection.

This change refactors the replies waiter code by creating a background
thread responsible to poll the connection instead of a random client.
The connection lost will be detect as soon as possible even if no rpc
client are currently used the connection.

This is a mandatory change to be able to enable heartbeat on this
connection.

Related-Bug: #1371723
Related-Bug: #856764

Change-Id: I82d4029dd897ef13ae8ba3cda84a2fe65c8c91d2
2015-02-02 09:51:24 +00:00
doc/source Treat sphinx warnings as errors 2015-01-29 14:24:55 -05:00
etc Routing notifier 2014-01-15 04:08:18 +00:00
oslo Expose _impl_test for designate 2015-01-26 21:55:20 +00:00
oslo.messaging/locale Imported Translations from Transifex 2014-12-03 06:10:22 +00:00
oslo_messaging Refactor the replies waiter code 2015-02-02 09:51:24 +00:00
tests Merge "Declare DirectPublisher exchanges with passive=True" 2015-01-29 17:21:08 +00:00
tools Import run_cross_tests.sh from oslo-incubator 2014-04-03 05:30:46 -07:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Allows to overriding oslotest environ var 2014-11-19 11:28:02 +01:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Update README.rst format to match expectations 2015-01-27 13:52:20 -05:00
amqp1-requirements.txt An initial implementation of an AMQP 1.0 based messaging driver 2014-09-04 15:12:43 -04:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
openstack-common.conf Switch to oslo.middleware 2014-11-08 18:08:37 +01:00
requirements-py3.txt Updated from global requirements 2015-01-27 02:23:38 +00:00
requirements.txt Updated from global requirements 2015-01-27 02:23:38 +00:00
setup.cfg Treat sphinx warnings as errors 2015-01-29 14:24:55 -05:00
setup.py Updated from global requirements 2014-04-30 02:45:47 +00:00
test-requirements-py3.txt Upgrade to hacking 0.10 2015-01-14 09:04:22 +01:00
test-requirements.txt Upgrade to hacking 0.10 2015-01-14 09:04:22 +01:00
tox.ini Gate functionnal testing improvements 2015-01-30 11:04:52 +01:00

README.rst

Oslo Messaging Library

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.