-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add graph version information to response #5115
Comments
Can you say more about what the use-case there is? Why does the client need to know about the data version? |
Sure. |
Ah interesting. So we did have something similar not too long ago but removed it because we did not have a use-case for it. 😅 To add this feature I would recommend the following steps:
|
Thank you for the detailed description of necessary steps. |
- Changes from 5.21.0 - Build: - ADDED: optionally build Node `lts` and `latest` bindings [Project-OSRM#5347](Project-OSRM#5347) - Features: - ADDED: new waypoints parameter to the `route` plugin, enabling silent waypoints [Project-OSRM#5345](Project-OSRM#5345) - ADDED: data timestamp information in the response (saved in new file `.osrm.timestamp`). [Project-OSRM#5115](Project-OSRM#5115)
I encountered such a problem while using OSRM: I have an OSRM cluster behind a load balancer that processes a continuous stream of requests. To update the road graph, I'm restarting servers one by one. At some point, several servers running with the old graph and some servers with the new one. As far as I understand, there is no way to find out on which version of the graph it was created from the OSRM answer. I suggest to add such field into the response. This can be a data timestamp from the pbf file, or the value of some parameter passed on the stage of osrm-extract.
The text was updated successfully, but these errors were encountered: