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

Correlate: Updating the spindle queue state needs to happen AFTER sparql-put #126

Open
nevali opened this issue Sep 15, 2017 · 0 comments
Open
Labels

Comments

@nevali
Copy link
Member

nevali commented Sep 15, 2017

There's a race condition in the ingest pipeline which means that spindle-generate may be invoked before updated graphs are available in the quad-store or cache.

Unfortunately, fixing this is likely going to involve splitting spindle-correlate into two steps: one which performs correlation, and another which updates the index state to mark items as dirty, i.e.:

Alternatively, it may be possible to perform a sparql-put immediately after the sparql-get process has retrieved the previous state of the graph.

@nevali nevali added the bug label Sep 15, 2017
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

1 participant