Skip to content
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

Error reading cache: missing data #255

Open
tahini opened this issue Aug 31, 2023 · 1 comment
Open

Error reading cache: missing data #255

tahini opened this issue Aug 31, 2023 · 1 comment
Labels

Comments

@tahini
Copy link
Collaborator

tahini commented Aug 31, 2023

On one of our instances, we have this error message when starting the server:

info: [2023-08-31 12:20:38.516] [info] Fetching trips and connections from cache...(33.0%)

info: [2023-08-31 12:20:38.679] [info] Fetching trips and connections from cache...(45.0%)

info: [2023-08-31 12:20:38.785] [info] Fetching trips and connections from cache...(56.0%)

error: terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at

Restarting the Transition instance, which recreated the cache, fixed the problem, but how did we get to this state? A more helpful error message would help debug what happened on the cache side

@tahini tahini added the bug label Aug 31, 2023
@greenscientist
Copy link
Contributor

@tahini Did you keep a copy of the old data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants