Comment 2 for bug 1548331

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

Reviewed: https://review.openstack.org/284361
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=b89a05e5fcdefc1fd54c088f62f72cd980d90098
Submitter: Jenkins
Branch: master

commit b89a05e5fcdefc1fd54c088f62f72cd980d90098
Author: Eric Larson <email address hidden>
Date: Wed Feb 24 11:07:23 2016 -0600

    Ensure the zone records quota is enforced

    When creating a recordset, we only assert the recordset specific quota
    is respected, ignoring the zone record quota.

    This updates the code to enforce the records quota as well as excludes
    the managed records when calculating the quota. Also, the submitted
    records are taken into account when testing the quota. For example, if
    the total number is 10 and the limit is 11 (the total must be less
    than the quota), submitting an update to a recordset to lower the
    number of A records from 5 to 3 should be allowed.

    Closes-Bug: #1548331
    Change-Id: I26839eca1c4901c5b8dbe3db69044c4da889b7d8