F3. .id Files

The product status file is a text file in which the Server logs the revisions numbers of the product. Usually, the file contains a single number (the current revision number). The product will be synchronized if only the revision number on the GUS server is more than the current number. The synchronization is performed in four stages:

1.Two numbers are written to the .id file:

<new_revision> <previous_revision>.

Thus it is marked, that the product is in an incomplete transaction from

<previous_revision> to <new_revision>.

2.All changed files are received via HTTP and placed to the respective subcatalogs with files of the following type:

<original file name>.<new_revision>.

3.The result of the transaction is written to the .id file.

This can be a normal state but with a new number, or a "frozen" state (frozen), if the sync-delay rule has worked:

<new_revision> <previous_revision> frozen

4.If the state is not "frozen", new files replace the original files.

When the Server is rebooted after the .id file is analyzed, incomplete transactions "roll back", otherwise, step 4) is performed.