[ 
https://issues.apache.org/jira/browse/ACCUMULO-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Turner updated ACCUMULO-6:
--------------------------------

    Affects Version/s:     (was: 1.4.0)
    
> Files deleted while in use by scan
> ----------------------------------
>
>                 Key: ACCUMULO-6
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-6
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>            Priority: Critical
>             Fix For: 1.4.0
>
>
> When merging minor compactions occur, the merged file is made available for 
> delete by the garbage collector.  In some situations this is done when the 
> file is in use by a scan.  
> This bug is caused by the fact that bringMinorCompactionOnline() does not 
> remove the merged file from the list of tablet files before calling 
> waitForScansToFinish().  Major compactions do remove the file before calling 
> waitForScansToFinish().
> Possible solutions
>  * Always assume a merged file is in use by scans instead of calling 
> waitForScansToFinish().  Would need to move the call to 
> removeFilesAfterScan() after the tablet files are updated.
>  * Remove file from tablet files before calling waitForScansToFinish()... in 
> the case of failures, users may see the results of a compaction and then not 
> see it... this is what major compactions do.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to