-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency in etag calculation #37
Comments
peacekeeper
pushed a commit
to peacekeeper/debian-node-restore
that referenced
this issue
Oct 21, 2015
Sometimes when i use http://litewrite.net/ with restore 0.3.0 and access via two browser simultaneously, i end up getting an endless stream of 412 errors, until i close and re-open the browser. wondering if this is related to this issue. |
Possibly, if it's not a bug in the client. |
untitaker
added a commit
to untitaker/morestore
that referenced
this issue
Nov 6, 2015
I've been starting a fork of restore at https://github.com/untitaker/morestore, which contains a bugfix for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GET /foldername/
the mtime offile.txt
is used.GET /foldername/file.txt
, the mtime of.~file.txt
is used.I guess this issue doesn't always show up because the file has to be PUT at a second (or millisecond?) boundary, otherwise there's no difference between the mtime of the meta file and the mtime of the data file. However, you can test it by touching either meta files or data files.
The following patch fixes this:
I'll open a PR if you agree with the change @jcoglan
The text was updated successfully, but these errors were encountered: