HomePhorge

Passing checksums around instead of file contents
5329b8a7a886Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Passing checksums around instead of file contents

This switches the file's 'content' parameter to always
use checksums, rather than always using content but switching
to checksums whenever necessary.

This greatly simplifies all the logging requirements (so
that content doesn't show up in logs), but also simplifies
insync comparisons, and much more.

In the process, I found that the code was pulling down file content
more often than was necessary, and fixing that cut 40% off of the time
of a very small transaction.

Signed-off-by: Luke Kanies <luke@madstop.com>

Details

Provenance
Luke Kanies <luke@madstop.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU71e4919f6b60: Moving default fileserving mount creation to the Configuration class
Branches
Unknown
Tags
Unknown

Event Timeline

Luke Kanies <luke@madstop.com> committed rPU5329b8a7a886: Passing checksums around instead of file contents (authored by Luke Kanies <luke@madstop.com>).Mar 6 2009, 5:12 AM