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)
Reviewed: https:/ /review. opendev. org/c/openstack /designate/ +/901939 /opendev. org/openstack/ designate/ commit/ ff1986cbb755f0d 74a7db98623d6d1 7816d933a6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit ff1986cbb755f0d 74a7db98623d6d1 7816d933a6
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 IntegerFields( nullable= True, minimum=0, maximum=4095),
> 'shard': fields.
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 f12209f431db19c da1b44a1112 d73bd7588dabdc4 279ca8851b)
Change-Id: I71b0b1b237b5d5
(cherry picked from commit 54d2d2cf187aec8