Comment 1 for bug 971914

Revision history for this message
You Yamagata (y-yamagata) wrote :

To fix this problem I am developing an additional auditor 'swift-object-auditor2'. (still working)

https://github.com/yoyama/swift/blob/DEVEL_AUDITOR2/swift/obj/auditor2.py

This auditor manage new pickle files 'hashes_expire.pkl' which store expiration of suffix values.
If the auditor detect expired suffix, it calls swift.obj.replicator.get_hashes() and update hashes.pkl.
If an object files are lost in this time, the hash value of suffix is changed, so object replicator
will detect difference of hash value and fix it.

I appreciate if someone give me comments or advices.