Adding a key to a transaction-controlled file could fail with a duplicate key error (KDUP_ERR, error code 2) when FairCom Server's NXTMARKS optimization was enabled (which is on by default). This error requires the following specific sequence of events to occur:
The KDUP_ERR can occur for this specific sequence of events without any other intervening accesses to the leaf node. However, if other accesses to the leaf node occur before the new key is added, the error may not occur.
The logic has been modified to eliminate this error.
Workaround: Add COMPATIBILITY NO_NXTMARKS to ctsrvr.cfg and restart FairCom Server.
Affected Versions: V10.0.0 through V11.6 lines prior to November 2018
Affected Components: FairCom Server