worth doing

    if (persistMode==DISABLED && highAvailabiliyMode==AUTO) highAvailabilityMode = DISABLED;

and then we could set `highAvailabilityMode = AUTO` as the default?