Comment 13 for bug 2044278

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

Reviewed: https://review.opendev.org/c/openstack/designate/+/901940
Committed: https://opendev.org/openstack/designate/commit/d247267823034c5e656f74e91b50475aa54d3fa6
Submitter: "Zuul (22348)"
Branch: stable/zed

commit d247267823034c5e656f74e91b50475aa54d3fa6
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)