You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Chen Luo (JIRA)" <ji...@apache.org> on 2018/03/11 18:23:00 UTC

[jira] [Created] (ASTERIXDB-2324) File Pages still exist after Deleting a File From BufferCache

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)