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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.