On 18/06/13 17:54, Bill Roberts wrote:
We've been seeing some unexpected behaviour recently, not sure if
it's an issue in our code or something in Fuseki/TDB behaviour.
When we add some data to Fuseki using a graph protocol POST or PUT,
after a while it returns 201 or 204. However, we seem to have come
across some cases where running a query against this data very soon
after receiving (we think) the HTTP success message, the new data is
not in the result.
When in the cycle of committing data to TDB does Fuseki send the HTTP
response? On receiving the 201/204, should we be able to safely
assume that the new data will be in query results?
Thanks
Bill
Bill -
the code is in doPut() of
https://svn.apache.org/repos/asf/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_REST_RW.java
so, yes, the transaction is committed.
(version?)
Andy