ovh / svfs

The Swift Virtual File System
Other
374 stars 54 forks source link

Error when updating times on segmented object > 5GB #86

Closed xlucas closed 8 years ago

xlucas commented 8 years ago

Context

  1. dd if=/dev/zero of=foo bs=1G count=6
  2. rsync -rtlW --inplace foo /mountpoint/container/

    Results you expected :

File is uploaded and times are correct.

Results you observed :

Rsync fails to set file times.

Debug log :

rsync: failed to set times on "/mountpoint/container/foo": Input/output error (5)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]

Additional information :

This is linked to https://bugs.launchpad.net/swift/+bug/1487791. As a workaround, using ?multipart-manifest=get in the POST should avoid the squashing behavior.