Reviewed: https://review.opendev.org/c/openstack/designate/+/902025 Committed: https://opendev.org/openstack/designate/commit/46df77d731c4f01449e15ccbf032135e3033fd47 Submitter: "Zuul (22348)" Branch: stable/ussuri
commit 46df77d731c4f01449e15ccbf032135e3033fd47 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/ +/902025 /opendev. org/openstack/ designate/ commit/ 46df77d731c4f01 449e15ccbf03213 5e3033fd47
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 46df77d731c4f01 449e15ccbf03213 5e3033fd47
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