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

Jose Andrés Cordero commented on JCRVLT-745:
--------------------------------------------

Hi [~tripod], would be possible to change the default location to not create 
the nodes directly under the root document, but somewhere else? This causes 
some performance issues and, as an example, when running the oak-run console to 
access a repository, it first reads all the direct descendants from the root 
node, which will be affected by big amounts of these temporary nodes.

> Stashing: naming and folder location
> ------------------------------------
>
>                 Key: JCRVLT-745
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-745
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Major
>
> We have seen cases where node stashing failed due to RuntimeExceptions (OOM 
> or MongoDB issues in Oak). In these cases, the tmp folder is not cleaned up. 
> If the operation is retried many times, there'll be many of these.
> Suggestion:
> 1. Do not use the root as default location,
> 2. Introduce an intermediary node that makes it clear that this is temp space 
> created by FileVault.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to