Product Documentation

FairCom DB V12 Release Notes

Previous Topic

Next Topic

TLOG_ERR after turning off transaction control for a file fixed

After turning off ctTRNLOG transaction control for a file, a subsequent modification to the file such as a record add, delete, or update can produce a TLOG_ERR message in CTSTATUS.FCS, followed by other errors such as transaction log write error 541, or read or write errors on transaction-controlled files. This can cause c-tree Server to terminate because the transaction logging subsystem cannot proceed. This error is a timing related error and may not occur in every situation.

The message "ctwrtlog: log end error: 73" in CTSTATUS.FCS indicates that this error situation has occurred. After the message occurs, the server will not be able to perform any more transaction operations and is very likely to terminate.

The logic has been modified to prevent this from occurring.

Compatibility Note: The following restriction was added to PUTFIL(): Changing a file from ctTRNLOG to ctPREIMG mode is not allowed if the file has been updated in a transaction that is still active when PUTFIL() is called. In this case, the error code XTRN_ERR is returned. This restriction is designed to avoid possible unexpected behavior. PUTFIL() already returned XTRN_ERR when attempting to turn off transaction control for a file that has been updated in a transaction that is still active.

This error cannot happen in the single-user TRANPROC model because it doesn't support the deferred OPNTRAN optimization.

TOCIndex