Compute checksums of segments and store them in the local database.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 10 Aug 2007 02:23:20 +0000 (19:23 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Fri, 10 Aug 2007 02:23:20 +0000 (19:23 -0700)
commita4cf5f4d8df46fa00992a210d587cd824cedcb08
treea98f6fb2555a217b74c892a05cedc6639dfe0a8f
parentbf8eba693e2667688b83b2a4aa220ec8adcb7907
Compute checksums of segments and store them in the local database.

When a segment is fully written out, compute a checksum of the file
actually written (post-filtering).  Store this in the local database so
that it will be possible to write out, at the end of a backup, a file
containing the checksums of all segments used for the snapshot (including
old ones not written out in this execution).
localdb.cc
localdb.h
scandir.cc
schema.sql
sha1.cc
sha1.h
store.cc
store.h