Product Documentation

c-treeACE V10.3 Release Notes

Previous Topic

Next Topic

Failed file compact deletes original and leaves compacted file with temporary filename

When a file compact operation failed after deleting the original data file but before renaming the newly compacted data file, the new data file was left with its temporary filename. In this situation the following message was seen in CTSTATUS.FCS:

- User# 00017 Compression: original deleted.

But the following message, which normally follows that first message, was not seen in CTSTATUS.FCS:

- User# 00017 Compression: temporary renamed.

The logic has been change to eliminate this scenario (the original is not deleted until the temporary file has been renamed). With these changes, a successful file compact now logs the following messages to CTSTATUS.FCS:

- User# 00017 Compression: original renamed.

- User# 00017 Compression: temporary renamed.

When a file compact fails and an attempt to rename the original data file to its original name fails, c-tree logs a message to CTSTATUS.FCS:

Compression: could not restore original data file name: <error_code>

<temporary_filename>

<original_filename>

TOCIndex