Comment 2 for bug 1392868

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/134684
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=80e62aed7d63175079422bd6bb4578d45da7f30e
Submitter: Jenkins
Branch: master

commit 80e62aed7d63175079422bd6bb4578d45da7f30e
Author: Kenneth Giusti <email address hidden>
Date: Fri Nov 14 17:06:58 2014 -0500

    Create a new connection when a process fork has been detected

    This patch attempts to deal with applications that have forked the
    process after connecting to the broker. First, the creation of the
    connection is delayed until the application attempts to perform a
    messaging operation. Second, each time the application performs a
    messaging operation the current process id is checked against the id
    of the process that created the connection. If the process ids do not
    match, the application has called os.fork(). The new child process
    discards the existing connection and creates a new one.

    Change-Id: I5455cb0f8d380d6b65f1268b34a91355cbb14aa2
    Closes-Bug: #1392868