Comment 2 for bug 1678726

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

Reviewed: https://review.openstack.org/452691
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9a0907dbb9eaf1dcf7f1ccfc22b0e6e4f775b046
Submitter: Jenkins
Branch: master

commit 9a0907dbb9eaf1dcf7f1ccfc22b0e6e4f775b046
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Apr 3 19:31:32 2017 +0900

    Flush objects by ourselves before processing before_commit event

    During commit processing, sqla automatically flushes objects.
    However, it does so after dispatching the before_commit event,
    while Neutron expects it happens before the event. This
    counter-intuitive behaviour might or might not be considered
    a bug in sqla. Anyway, it's better to be safe in our side.

    Closes-Bug: #1678726
    Change-Id: Iceaf178be2885b0299d6d281983e9f7f8ae6def0