Defect HC-12499

Multiple calls to updatedb leads to incorrect values in KEYS table


Customer case Applies to Corrected in
CS0253347 V9.1.2.0

Observed behavior

When migrating from one release to another, the updatedb script alters the limits in the keys table repeatedly until they are too small to use.

Expected behavior

The values should only be updated once.


The purpose of that portion of updatedb was to ensure that each of the key ranges for each table is correct. The code did not consider the situation where it would be executed multiple times, reducing the range each time it was executed. The code has been modified to ensure that it will only adjust the key ranges when they have not already been adjusted.