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

[Question] Is it always safe to restart osmosis when it crashes? #117

Open
doskabouter opened this issue May 16, 2022 · 0 comments
Open

Comments

@doskabouter
Copy link

doskabouter commented May 16, 2022

Currently I'm experiencing the occasional timeout on the server I fetch the changes from ( Unable to read the state from the server.)

Usage is:
osmosis --read-replication-interval workingDirectory=rri --simplify-change --write-xml-change file=changes.osc
and only if that succeeds the osm2pgsql starts

In the ideal world I would just want to restart it on failure so it can try again, but I do not know the risk of missing one update in some edgecase.
I guess it boils down to not being able to crash in any way after updating the state.txt

@doskabouter doskabouter changed the title [Question] [Question] Is it always safe to restart osmosis when it crashes? May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant