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

Chen Luo commented on ASTERIXDB-2324:
-------------------------------------

[~amoudi] Hi Abdullah, can you confirm is this indeed a bug? Or this behavior 
is allowed? (I personally think this is incorrect since after deleting a file 
all pages should be removed from the buffer cache...)

> 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
>            Priority: Major
>
> The typical workflow for deleting an index is to first deactive and then 
> destroy. During deactive, we close the index file from the buffer cache, 
> which internally removes the file info (however, the pages are still in the 
> buffer cache). We then call destroy to delete that file. However, most 
> callers use the file reference as the parameter, which causes file pages are 
> not cleaned because the file info does not exist any more.



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

Reply via email to