oslo.messaging/doc/source/transport.rst
Mehdi Abaakouk eb21f6b263 Warn user if needed when the process is forked
This change warns the library consumer when the process if forked and
we can't be sure that the library work as expected.

This also add some documentation about forking oslo.messaging Transport
object.

Change-Id: I2938421775aa72866adac198d70214856d45e165
Related-bug: #1330199
2014-11-27 16:29:20 +01:00

744 B

Transport

oslo.messaging

get_transport

Transport

TransportURL

TransportHost

set_transport_defaults

About fork oslo.messaging transport object

oslo.messaging can't ensure that forking a process that shares the same transport object is safe for the library consumer, because it relies on different 3rd party libraries that don't ensure that too, but in certain case/driver it works:

  • rabbit: works only if no connection have already been established.
  • qpid: doesn't work (qpid library have a global state that use fd that can't be resetted)
  • amqp1: works