You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Till (JIRA)" <ji...@apache.org> on 2019/04/11 16:38:00 UTC

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

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

Till updated ASTERIXDB-2324:
----------------------------
    Affects Version/s: 0.9.4

> 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
>    Affects Versions: 0.9.4
>            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)