syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Include file ID in UG/AG GET requests #85

Closed jcnelson closed 10 years ago

jcnelson commented 10 years ago

Currently, the URL for a block or manifest includes the file version and manifest/block version. However, if a file was truncated, or if it gets unlinked/creat'ed, its version will have changed. The http-common module can't tell whether or not to redirect to the latest version or fail with 404 unless it also knows whether or not the requester also has the path's latest file ID.

jcnelson commented 10 years ago

Fixed in 0fa4b1a