You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2015/12/03 14:05:11 UTC

[jira] [Comment Edited] (OAK-2066) DocumentStore API: batch create, but no batch update

    [ https://issues.apache.org/jira/browse/OAK-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021764#comment-15021764 ] 

Tomek Rękawek edited comment on OAK-2066 at 12/3/15 1:04 PM:
-------------------------------------------------------------

Patches should be applied in following way:

1. OAK-3586 ConflictException and CommitQueue should support a list of revisions
1. OAK-3662 Add bulk createOrUpdate method to the DocumentStore API
2. OAK-3724 Use the bulk createOrUpdate in Commit
2. OAK-3559 Bulk document updates in MongoDocumentStore
2. OAK-3637 	Bulk document updates in RDBDocumentStore

The order within the same number doesn't matter.


was (Author: tomek.rekawek):
Patches should be applied in following order:

1. OAK-3586 ConflictException and CommitQueue should support a list of revisions
2. OAK-3662 Create bulk createOrUpdate method and use it in Commit
3a. OAK-3559 for Mongo
3b. OAK-3637 for RDB

> DocumentStore API: batch create, but no batch update
> ----------------------------------------------------
>
>                 Key: OAK-2066
>                 URL: https://issues.apache.org/jira/browse/OAK-2066
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Julian Reschke
>              Labels: performance
>
> The DocumentStore API currently has a call for creating many nodes at once.
> However, this will sometimes fail for large save operations in JCR, because in the DS persistence, JCR-deleted nodes are still present (with a deleted flag). This causes two subsequent sequences of
> 1) create test container
> 2) create many child nodes
> 3) remove test container
> to behave very differently, depending on whether the test container is created for the first time or not.
> (see CreateManyChildNodesTest)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)