Comment 1 for bug 1669449

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

Reviewed: https://review.openstack.org/440155
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=563e06c3c69888e4166b10c1d9f50fe0e820c02d
Submitter: Jenkins
Branch: master

commit 563e06c3c69888e4166b10c1d9f50fe0e820c02d
Author: TommyLike <email address hidden>
Date: Thu Mar 2 14:43:15 2017 +0800

    Add periodic task to clean up expired reservation

    Currently we would have uncommit reservations in database if
    the commit operation failed. This could obstruct creating new
    shares or others which would consume quota. This patch adds
    a perodic task to clean this expired reservations.

    Also fix bug in db.reservation_expire method(We dropped
    attribute 'usage' from Reservation, but it's still used
    in this method).

    Closes-Bug: #1669449

    Change-Id: I3dc0973ebac5eb33832e242c72059be1eb954369