Bug #116887 adjusted_group set on stack variable instead of on object
Submitted: 6 Dec 0:13 Modified: 6 Dec 5:48
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

[6 Dec 0:13] Mikael Ronström
Description:
In the method adjust_node_proximity one can set adjusted_group.
This setting has no effect since the variable is a stack variable.
The same goes for a lot of other changes in the same method.

How to repeat:
Found through code review and debugging other things.

Suggested fix:
Rewrite and simplify code :)
[6 Dec 5:48] MySQL Verification Team
Hello Mikael,

Thank you for the report and feedback.

Sincerely,
Umesh