Product Documentation

FairCom DB V12 Release Notes

Previous Topic

Next Topic

In case of L64 recovery failure, log a message to CTSTATUS.FCS and return an error rather than exiting the process

In an unusual situation (an L64 recovery failure), automatic recovery could fail due to an error mapping a transaction file number to a c-tree file number, causing the process to be exited.

The logic has been modified to return the error to the caller instead of exiting. Now the c-tree initialization function will fail with error 1120 in this situation. This applies to both standalone TRANPROC and server models. Messages will be written to CTSTATUS.FCS. Here are example messages logged by c-tree Server in this situation:

Wed Jan 31 14:29:52 2018

- User# 00001 L64: tfil:10 lgn:3 updflg:0 curval:-4: 1120

Wed Jan 31 14:30:07 2018

- User# 00001 Automatic recovery terminated with error: 1120

Wed Jan 31 14:30:09 2018

- User# 00001 Could not initialize server. Error: 1120

Wed Jan 31 14:30:11 2018

- User# 00001 Dumped stack for server process 65912, log=1, loc=74, rc=0

Wed Jan 31 14:30:11 2018

- User# 00001 O1 M0 L74 F1120 P0x (recur #1) (uerr_cod=1120)

TOCIndex