Comment 4 for bug 1794994

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

Reviewed: https://review.openstack.org/606995
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=660f717394f946a142bba101d8486fabce814241
Submitter: Zuul
Branch: master

commit 660f717394f946a142bba101d8486fabce814241
Author: Surya Seetharaman <email address hidden>
Date: Mon Oct 1 17:21:04 2018 +0200

    Update --max-rows parameter description for archive_deleted_rows

    Since API tables do not have the concept of soft-delete, we purge
    the instance_mappings, request_specs and instance_group_member records
    of deleted instances while they are archived. The ``nova-manage db
    archive_deleted_rows`` offers a ``max-rows`` parameter which actually
    means the batch size of the iteration for moving the soft-deleted
    records from table to their shadow-tables. So this patch clarifies
    that the batch size does not include the API table records that are
    purged so that the users are not confused by the ``--verbose`` output
    of the command giving more rows than specified.

    Change-Id: I652854c7192b996a33ed343a51a0fd8c7620e876
    Closes-Bug: #1794994