Automatic Mode Fails to Detect Corrupted Files

ID: Q177738

The information in this article applies to:

SYMPTOMS

Content Replication System (CRS) interprets corrupt files as files locked waiting for the copy to complete.

CAUSE

CRS uses ReadDirectoryW() to receive notifications from Windows NT when a files has been changed. This call will notify CRS about a change that has not yet completed. It will also notify CRS several times about the same file. As a result, CRS caches these entries for a period of time and then start transferring the data. To determine when the file is actually available for transfer, CRS does a "BusyFile" check by opening the file. Unfortunately, the Open call is failing because the file is corrupt and CRS is interpreting it as a large file that is locked pending completion of copy.

STATUS

Microsoft has confirmed this to be a problem in MCIS 1.0 and Site Server.

Version           : WinNT:1.0,2.0
Platform          : winnt
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: November 25, 1998