-
Notifications
You must be signed in to change notification settings - Fork 13
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
panicked at 'overflow when subtracting duration from instant' #45
Comments
Ooh interesting, yes please let me know if you uncover a backtrace. I have never observed this but we should definitely fix it. Will take a deeper look this evening but if you identify a fix in the meantime feel free to send a PR. |
I think this is rust-lang/rust#100141 - surprising! |
Sounds to be our issue. Do you think the workaround will help? |
Yeah I'm sure we can work around it :) If you're able to get a backtrace or reproduction steps that'll help pinpoint things but I'll do some more investigating this weekend. |
Unfortunately not soon. I'm a Linux user, so I'm not concerned. And no one reported it since I asked internally… 🤞 |
Could you add |
@kumy can you also share any more details about how your tool is invoking I suspect the most reasonable fix will unfortunately be to stop using |
(From memory, more details to come on monday) EDIT 2023-09-29: no user reported the issue yet |
We're using that pattern:
We're using ttl: 15min, 1h, 1d, 1w, depending on the queried data |
Hi @dimo414 Hope it'll be useful 🤞
|
Someone else had it this morning
And with
|
Anything else we can do to help here? |
😆 tell my employer to prioritize this bug! I will try to figure out the right fix for this soon, it's a little messy. |
Took a deeper look at this just now. The good news is it looks like the only problematic line is the one linked above, where we construct the
|
Thanks for |
Thanks for the context on #2, that does make sense. I would actually suggest changing the cache dir to be cleared on reboot to align with the behavior your Linux users experience. According to this post I played around a little more with swapping to |
I would actually suggest changing the cache dir to be cleared on reboot to align with the behavior your Linux
Hum, I may have badly explained it. We want to *keep* the cache between reboots. The cache (on all platform) is not in `$TMP` but somewhere in `$HOME`.
|
Oh you didn't mention using a custom cache directory above. In that case your OSX users will need to pick up this fix (once it's released). |
FTR, one user reported the error this morning after powering his Mac... |
I have included
bkt
in one of our internal tool. I got at least 5 complaints already from users having such error (MacOs users):or (distinct column number on this one) Here it's
bkt
v0.7.1
Clearing the
bkt-cache
folder was our quick fix.I'm sorry I don't have a backtrace yet, but will try to provide it next time it happen. I thought it might be worth to already open that issue.
The text was updated successfully, but these errors were encountered: