Chen Luo created ASTERIXDB-2324:
-----------------------------------

             Summary: 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


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