[jira] [Comment Edited] (OAK-4241) JdbcNodeStoreContainer does not correctly clean up H2 temp files

2016-04-19 Thread Julian Sedding (JIRA)

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

Julian Sedding edited comment on OAK-4241 at 4/19/16 3:17 PM:
--

-I fixed this yesterday. See OAK-4225.- Misread. The {{prepare()}} method 
already closes {{getSourceContainer}}.


was (Author: jsedding):
--I fixed this yesterday. See OAK-4225.-- Misread. The {{prepare()}} method 
already closes {{getSourceContainer}}.

> JdbcNodeStoreContainer does not correctly clean up H2 temp files
> 
>
> Key: OAK-4241
> URL: https://issues.apache.org/jira/browse/OAK-4241
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Affects Versions: 1.5.1
>Reporter: Julian Sedding
>Assignee: Julian Sedding
>Priority: Minor
>
> {{JdbcNodeStoreContainer}} used by two tests assumes incorrectly that H2 
> places its DB files into a folder passed in the JDBC URL. However, H2 assumes 
> that the last path element is the database name and creates multiple files 
> with different extensions.
> Due to this {{JdbcNodeStoreContainer}} does leave files behind.



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


[jira] [Comment Edited] (OAK-4241) JdbcNodeStoreContainer does not correctly clean up H2 temp files

2016-04-19 Thread Julian Sedding (JIRA)

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

Julian Sedding edited comment on OAK-4241 at 4/19/16 3:17 PM:
--

--I fixed this yesterday. See OAK-4225.-- Misread. The {{prepare()}} method 
already closes {{getSourceContainer}}.


was (Author: jsedding):
I fixed this yesterday. See OAK-4225.

> JdbcNodeStoreContainer does not correctly clean up H2 temp files
> 
>
> Key: OAK-4241
> URL: https://issues.apache.org/jira/browse/OAK-4241
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: upgrade
>Affects Versions: 1.5.1
>Reporter: Julian Sedding
>Assignee: Julian Sedding
>Priority: Minor
>
> {{JdbcNodeStoreContainer}} used by two tests assumes incorrectly that H2 
> places its DB files into a folder passed in the JDBC URL. However, H2 assumes 
> that the last path element is the database name and creates multiple files 
> with different extensions.
> Due to this {{JdbcNodeStoreContainer}} does leave files behind.



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