Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Derivatives race condition #167

Open
justinlittman opened this issue Jan 17, 2019 · 0 comments
Open

Derivatives race condition #167

justinlittman opened this issue Jan 17, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@justinlittman
Copy link
Contributor

Messages like this can be found in the log for the derivative lambdas:
screen shot 2019-01-17 at 11 39 04 am

However, when you query Neptune, the resource is found:

[ec2-user@ip-10-0-0-73 ~]$ curl --http1.1 -H "Accept: application/json" http://rialto.cxsoyq1pdmta.us-west-2.neptune.amazonaws.com:8182/sparql --data-binary 'query=SELECT ?type WHERE { <http://sul.stanford.edu/rialto/publications/c22bd1e729b5f66c3d696ed86e7d4092> a ?type . }'
{
  "head" : {
    "vars" : [ "type" ]
  },
  "results" : {
    "bindings" : [ {
      "type" : {
        "type" : "uri",
        "value" : "http://purl.org/ontology/bibo/Document"
      }
    }, {
      "type" : {
        "type" : "uri",
        "value" : "http://purl.org/ontology/bibo/Article"
      }
    } ]
  }

This suggests that the derivative lambda is executed before the resource is available from Neptune (but presumably after it has been inserted).

@justinlittman justinlittman added the bug Something isn't working label Jan 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant