You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2014/05/22 16:16:50 UTC
svn commit: r1596883 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
Author: mreutegg
Date: Thu May 22 14:16:49 2014
New Revision: 1596883
URL: http://svn.apache.org/r1596883
Log:
OAK-1688: document atomicity of DS.update(collection, keys, update)
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java?rev=1596883&r1=1596882&r2=1596883&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java Thu May 22 14:16:49 2014
@@ -147,7 +147,10 @@ public interface DocumentStore {
/**
* Update documents with the given keys. Only existing documents are
- * updated.
+ * updated and keys for documents that do not exist are simply ignored. If
+ * this method fails with an exception, then only some of the documents
+ * identified by {@code keys} may have been updated. There is no guarantee
+ * in which sequence the updates are performed.
*
* @param <T> the document type.
* @param collection the collection.