Patent ID: 7246275

Claim:
A method for managing integrity of a file, the method comprising: a) at a first time, performing a content checksum of a file in a first repository node to obtain a first checksum and storing the first checksum in the first repository node; b) at a second time, re-performing the content checksum on the file to obtain a second checksum and comparing the second checksum with the first checksum; and c) if the second checksum does not equal the first checksum, then at a node with a replica, verifying the replica; if the replica is verified, then transmitting the verified replica to the first repository node; and replacing the file with the verified replica; if the replica is not verified, determining if all other repository nodes with replicas have been checked; if not, then selecting a node with an alternative replica that has not been verified and verifying the alternative replica; if the alternative replica is verified, then transmitting the verified alternative replica to the first repository node; and replacing the file with the verified alternative replica; if all other repository nodes with replicas have been checked and no verified replicas have been discovered, then determining that file integrity correction failed.