1
mirror of https://github.com/rclone/rclone synced 2024-12-23 14:23:44 +01:00
rclone/backend/chunker
Ivan Andreev cf9b82b8db chunker: md5all must create metadata if base hash is slow
Before this patch the md5all option would skip creating metadata with
hashsum if base filesystem provided md5, in hope to pass it through.
However, if base hash is slow (for example on local fs), chunker passed
slow md5 but never reported this fact in features.

This patch makes chunker snapshot base hashsum in metadata when md5all is
set and base hashsum is slow since chunker was intended to provide only
instant hashsums from the start.

Fixes #5508
2021-10-13 16:18:08 +03:00
..
chunker_internal_test.go chunker: md5all must create metadata if base hash is slow 2021-10-13 16:18:08 +03:00
chunker_test.go docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
chunker.go chunker: md5all must create metadata if base hash is slow 2021-10-13 16:18:08 +03:00