This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Lightweight semaphore mechanism #3
Labels
HTTP PATCH body
SPARQL UPDATE query used as body of HTTP PATCH request
Comments
My proposal to fix both this problem and the problem in #2 is to keep the current SPARQL 1.1 behaviour, but design a new reporting mechanism, so that the status report becomes optional, and thus can separately be subjected to I have posted the strawman proposal that details this to the SPARQL-1.2 CG in |
Also note that I had an earlier discussion on this in the SPARQL-1.2 CG in w3c/sparql-dev#60 |
Specifically, you want to keep the SPARQL UPDATE 1.1. semantics in the context of HTTP |
Yes, I think we need to do that to solve #2 . Also because it is nice to not break specs :-) |
This was referenced Oct 13, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@timbl suggested in his RWW Design Issue that
DELETE INSERT WHERE
queries could be used for a semaphore mechanism, so that if theDELETE
part fails, a conflict flag should be raised.I think the mechanism can be illustrated with simpler
DELETE DATA
/INSERT DATA
queries, so here's my description:Say that client 1 goes:
independently, client 2 goes
before the first client as finished. In that case, the Solid implementation
would return a 409 Conflict to the second client.
There are a few problems, as noted in solid/solid-spec#193 it is a willful violation of the SPARQL 1.1 specification, which says:
Moreover, reporting a success or failure status to
DELETE
queries are problematic from a confidentiality perspective, as is the topic of #2 .The text was updated successfully, but these errors were encountered: