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)
Reviewed: https:/ /review. opendev. org/c/openstack /designate/ +/901940 /opendev. org/openstack/ designate/ commit/ d247267823034c5 e656f74e91b5047 5aa54d3fa6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit d247267823034c5 e656f74e91b5047 5aa54d3fa6
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