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

Andy Seaborne commented on JENA-95:
-----------------------------------

I've added some checking in the svn codebase - you can't expel when 
transactions are active; .reset is more brutal about resetting the system.  It 
should not be necessary to call either in regular use; reset() is really only 
for testing to reset the system to a known, blank state.

I've not managed to recreate this.  Please can you provide a @Test case and 
confirm which development build it's happening in? 

The order of operations seems to be important.  AbstractTestTransSeq now has 
some test cases attempting to recreate the situation but they pass 
(trans_50,51,52)

The latest develop build is20110811.094356-8


> journal.jrl is not released when expelling a alocation
> ------------------------------------------------------
>
>                 Key: JENA-95
>                 URL: https://issues.apache.org/jira/browse/JENA-95
>             Project: Jena
>          Issue Type: Bug
>            Reporter: Simon Helsen
>            Priority: Critical
>
> whenever I call StoreConnection.expel(location) it seems that something is 
> holding on to journal.jrl in location
> Caused by: 
> java.io.IOException: Could not delete 
> D:\jfsDev\working_dir\indices\4cb718ffab6047639c383cf9582633dc\jfs-rdfindex\journal.jrnl
>       at java.lang.Throwable.<init>(Throwable.java:67)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to