jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCRVLT-333) Allow to import a package without committing the session
Date Mon, 11 Mar 2019 05:25:00 GMT

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

Tobias Bocanegra commented on JCRVLT-333:
-----------------------------------------

this should already be possible by setting the autosave threshold to MAX_INTEGER:
https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AutoSave.java#L143

> Allow to import a package without committing the session
> --------------------------------------------------------
>
>                 Key: JCRVLT-333
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-333
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Christian Schneider
>            Priority: Major
>
> We would like to be able to combine a commit of a package import with some other repository
changes in the same transactional commit.
> To make this work we would like to be able to call Importer.run but make it not commit
the session. Instead we would do the commit outside.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message