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

Dump metadata to recreate PTO after crash #93

Open
ghost opened this issue Jul 17, 2018 · 0 comments
Open

Dump metadata to recreate PTO after crash #93

ghost opened this issue Jul 17, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2018

If the PTO fatally crashes and takes with it the entire observation database, this is in theory no big deal, since all we need to do is re-run the normalisers and analysers. This may be true, yet the devil will be in the details. For example, observation set IDs will in general not be the same when an observation database is thus recreated. Jumps in observation set IDs can happen, for example, when observation sets are deleted ad then new ones added. Recreating observation sets just by re-running the analysers will then not recreate the same observation set IDs. This may invalidate URLs pointing to such observation sets.

I suggest therefore to develop a tools that can dump and restore the observation database from its metadata exactly as it is.

@ghost ghost added the enhancement label Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants