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

Attempting to post your first DiSCOs across multiple threads causes Agent error #246

Open
karenhanson opened this issue Feb 27, 2018 · 1 comment
Labels

Comments

@karenhanson
Copy link
Contributor

If you attempt to load DiSCOs using multiple threads, on the first round some fail due to a missing Agent record. The first thread creates the Agent, the next thread sees the Agent URI in the database, but when it tries to retrieve it, it's not yet in the graphdb, and so on. After the first round-trip, it's fine, but need some work to coordinate database transactions with triplestore transactions better.

@karenhanson
Copy link
Contributor Author

I have noticed a problem with the first DiSCO on a new build returning a successful response though the graph is not saved - needs further investigation in general. You can replicate this by spinning up a local instance, posting a DiSCO and then trying to retrieve it. It is not in the database.

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