W3C home > Mailing lists > Public > public-ldp-wg@w3.org > November 2012

ldp-ISSUE-28 (bertails): transaction/rollback when deleting resources from a LDPC [Linked Data Platform core]

From: Linked Data Platform (LDP) Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 02 Nov 2012 11:05:57 +0000
Message-Id: <E1TUF4X-0003Hn-Hl@nelson.w3.org>
To: public-ldp-wg@w3.org
ldp-ISSUE-28 (bertails): transaction/rollback when deleting resources from a LDPC [Linked Data Platform core]

http://www.w3.org/2012/ldp/track/issues/28

Raised by: Alexandre Bertails
On product: Linked Data Platform core

The DELETE operations defined in 5.6.* have impacts on one or more resources. The specification does not define the behavior for when deleting one of the resources had failed during the transaction.

The spec must define a notion of transaction with a rollback mechanism in case of error. The general case would be: if something fails when deleting/modifying one the impacted resources, then the server returns an error (with a message explaining the error) and no resource is deleted. This should be captured in at least 5.6.1 and 5.6.2.

I'm not sure about the following case though: the "child" LDPR for a given LDPC may not be on the same server. It may be a bad idea to return an error if a distant resource couldn't be deleted.
Received on Friday, 2 November 2012 11:05:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:42 UTC