Comment 12 for bug 2044278

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

Reviewed: https://review.opendev.org/c/openstack/designate/+/901939
Committed: https://opendev.org/openstack/designate/commit/ff1986cbb755f0d74a7db98623d6d17816d933a6
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit ff1986cbb755f0d74a7db98623d6d17816d933a6
Author: Erik Olof Gunnar Andersson <email address hidden>
Date: Wed Nov 22 08:10:49 2023 -0800

    Fix Producer shard range ignoring the last shard

    We define the shard range like this in objects
    > 'shard': fields.IntegerFields(nullable=True, minimum=0, maximum=4095),

    The problem is that in code we handle it using range(0, 4095), but that
    range does not include the final shard value of 4095.

    Closes-bug: #2044278
    Change-Id: I71b0b1b237b5d5f12209f431db19cda1b44a1112
    (cherry picked from commit 54d2d2cf187aec8d73bd7588dabdc4279ca8851b)