-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Relax timestamp check in precompiled images? #20837
Comments
Changes that happen in less than a second should still trigger recompilation, so no I don't think relaxing the check in that way is an appropriate fix. |
I wonder if there is a way to get the precision supported by the underlying filesystem. The check could then use that information. No? |
Dunno. Only one of the values gets truncated, right? Extending the way the docker check was done to a different allowed level of truncation should be fine and wouldn't be that likely to have false positives. Just don't take the floor of both sides. |
Yeah, sounds good. Will send a PR. |
While comparing timestamps of precompiled images, check for possibility of truncation at microsecond level. fixes JuliaLang#20837
While comparing timestamps of precompiled images, check for possibility of truncation at microsecond level. fixes JuliaLang#20837
I am running into an issue when I transfer precompiled Julia packages to a GlusterFS volume.
The loader always finds the precompiled files stale. I see this:
It seems to be due to timestamp precision on GlusterFS being different.
I think timestamp precision can be different for different filesystems, 1 sec being the lowest among the recent systems. Would it be better to relax the timestamp checking condition to 1 sec? (that is, checking
floor(ftime) != floor(ftime_req)
here instead).Ref. #13606: similar issue with docker
The text was updated successfully, but these errors were encountered: