X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=main.cc;h=daad05806925ca084c4af36a181d9351d2c06ffd;hp=742af6c5f7e169bbce5398f231119299fde67fef;hb=ae5a596823b8ca4860f4487f5e228e93f73bb050;hpb=8b4b764f036d9ac945d36a1966f2eb284c4f44a3 diff --git a/main.cc b/main.cc index 742af6c..daad058 100644 --- a/main.cc +++ b/main.cc @@ -314,6 +314,12 @@ int64_t dumpfile(int fd, dictionary &file_info, const string &path, while (!refs.empty()) { ref = refs.front(); refs.pop_front(); + + // The file-level checksum guarantees integrity of the data. + // To reduce the metadata log size, do not include checksums on + // individual objects. + ref.clear_checksum(); + object_list.push_back(ref.to_string()); db->UseObject(ref); }