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

Ensure graph can do clean restart after data model change #52

Closed
surchs opened this issue May 7, 2024 · 1 comment
Closed

Ensure graph can do clean restart after data model change #52

surchs opened this issue May 7, 2024 · 1 comment
Labels
flag:schedule Flag issue that should go on the roadmap or backlog.

Comments

@surchs
Copy link
Contributor

surchs commented May 7, 2024

The problem:

  • I have a full stack running
  • my API/Neurobagel tools have updated and have a new data model
  • I put the updated data .jsonld files in my "upload to graph" folder
  • I restart my full stack

🤯 -> if I forget to wipe the data in the graph before restarting, I now have both triples for the new and the old data model in the graph and if I'm lucky, they will interact in stupid and hard to understand ways that breaks things

Context:
Hhm, I see your point. But I think we should address the issue with graph incompatibilities after restart quickly in a separate issue. I'm happy to make a complete database wipe everytime we restart the full stack - and then wait 10 minutes for everything to come back to life - if that means I don't have to remember special combos of services I need to shut down/keep alive or introduce hard to debug problems.

For now I'll add a TODO flag here.

Originally posted by @surchs in neurobagel/documentation#189 (comment)

@surchs surchs added this to Neurobagel May 7, 2024
@alyssadai alyssadai added the flag:schedule Flag issue that should go on the roadmap or backlog. label May 15, 2024
@surchs
Copy link
Contributor Author

surchs commented May 21, 2024

completed with the current docs

@surchs surchs closed this as completed May 21, 2024
@github-project-automation github-project-automation bot moved this to Review - Done in Neurobagel May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag:schedule Flag issue that should go on the roadmap or backlog.
Projects
Archived in project
Development

No branches or pull requests

2 participants