[openstack-dev] Swift auditor and missing files

Pete Zaitcev zaitcev at redhat.com
Fri Oct 26 02:46:33 UTC 2012


On Thu, 25 Oct 2012 15:43:53 +0900
山縣陽 <bi.yamagata at gmail.com> wrote:

> Object-replicator checks the suffix hash value between own and remote node's one
> and if the value is different, object replicator execute rsync.
> 
> if object files are unexpectedly lost, suffix hash values will be not updated.
> So object-replicator can't detect the chage, as a result rsync is not triggered.

Thanks for the explanation. I understand now why replicator is not
the place to fix this problem and why auditor must be involved
(it invalidates the hash in the node that suffered the loss so that
the replicator on the node with the data may detect the situation
and push the missing file). However, I do not follow why it is
necessary to have the expiration period in your patch. Why not
update the hashes as soon as the loss is found in any given suffix?

-- Pete



More information about the OpenStack-dev mailing list