Bug #102506 Fix SpinMethod such that it works
Submitted: 6 Feb 2021 18:27 Modified: 16 Feb 2021 19:01
Reporter: Mikael Ronström Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:8.0.23 OS:Ubuntu
Assigned to: CPU Architecture:Any

[6 Feb 2021 18:27] Mikael Ronström
Description:
SpinMethod doesn't work.
The problem is that it checks the string passed from config
using native_strcasecmp and this returns when equal and not the
opposite.

How to repeat:
Enable SpinMethod=DatabaseMachineSpinning and check if spinning happens
when running benchmark.

Suggested fix:
Change to check for == 0 instead != 0 for config parameter.
[8 Feb 2021 11:21] MySQL Verification Team
Hi Mikael,

Thanks for the report

All best
Bogdan
[16 Feb 2021 19:01] Jon Stephens
Documented fix as follows in the NDB 8.0.24 changelog:

    The value set for the SpinMethod data node configuration 
    parameter was ignored.

Closed.