ruby-rdf / rdf-ldp

A suite of LDP software and middleware for RDF.rb & Rack
The Unlicense
13 stars 2 forks source link

Fix transactionality for direct & indirect container default triples #52

Open no-reply opened 8 years ago

no-reply commented 8 years ago

DirectContainer#create and IndirectContainer#create both require multiple transactions in cases where they automatically add default triples membership and/or inserted content relation triples.

We should resolve this so the behavior is consistently transactional and skewed reads are impossible; this is complicated by variable read isolation semantics for transactions.

See the documentation for DirectContainer#create.