I tried to rclone check with --download
option between two s3 buckets with other s3-compatible storage, and some of objects failed with "Sizes differ", then I use awscli to call head-object between the two objects got the same "Content-Length", and I downloaded the two objects, their content are exactly same.
BTW I search the "sizes differ" in the rclone source code, and:
fs/operations/operations.go
115: fs.Debugf(src, "Sizes differ (src %d vs dst %d)", src.Size(), dst.Size())
705: err := errors.Errorf("Sizes differ")
I run rclone check with -vv
arguments, but I cannot find the fs.Debugf output in my log file.