Bug #112401 Node group assumed to start from 0
Submitted: 20 Sep 2023 18:44 Modified: 22 Sep 2023 3:20
Reporter: Mikael Ronström Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:8.0.34 OS:Any
Assigned to: CPU Architecture:Any

[20 Sep 2023 18:44] Mikael Ronström
Description:
Node group can be configured by Nodegroup=number
However in some parts of the code one assumes that the
max node group number is equal to the number of node groups minus
one.

These checks should instead be checking that the node isn't ZNIL.

How to repeat:
Run Autotest daily-basic--01 with a configuration that sets a node group
id at least as big as the number of node groups.

Suggested fix:
Change checks of incorrect node group setting.
[22 Sep 2023 3:20] MySQL Verification Team
Hi Mikael,

Thanks for the report

all best