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

Till reassigned ASTERIXDB-2324:
-------------------------------

    Assignee: Ian Maxon

> File Pages still exist after Deleting a File From BufferCache
> -------------------------------------------------------------
>
>                 Key: ASTERIXDB-2324
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2324
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>            Reporter: Chen Luo
>            Assignee: Ian Maxon
>            Priority: Minor
>              Labels: triaged
>
> The typical workflow for deleting an LSM index is to deactive, purge, and 
> destroy. During deactive, we close the file. Then during purge, we should 
> remove the file mapping and all file pages. Finally, during destroy, the file 
> is physically deleted. However, BufferCache.purge didn't clear cached pages 
> as specified. Even though delete file internally calls clear pages, which is 
> never executed since the file mapping has already been removed. As a result, 
> files pages are not removed even though the file is deleted.



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

Reply via email to