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

[jira] [Updated] (ASTERIXDB-2464) createFile() followed by deleteFile() will not unregister the file

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

Wail Alkowaileet updated ASTERIXDB-2464:
----------------------------------------
    Description: 
In [BufferCache.java#L817|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L817], we create the file and register it. However, it does not belong to a FileHandle.

In [BufferCache.java#L1026|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L1026], the BufferCache will not unregister the file as it's not in the fileInfoMap.

This probably the reason for the sporadic issue of the file is already mapped issue?

  was:
In [[1]|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L817], we create the file and register it. However, it does not belong to a FileHandle.

In [[2]|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L1026], the BufferCache will not unregister the file as it's not in the fileInfoMap.

This probably the reason for the sporadic issue of the file is already mapped issue?


> createFile() followed by deleteFile() will not unregister the file
> ------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2464
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2464
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: HYR - Hyracks, STO - Storage
>            Reporter: Wail Alkowaileet
>            Priority: Major
>
> In [BufferCache.java#L817|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L817], we create the file and register it. However, it does not belong to a FileHandle.
> In [BufferCache.java#L1026|https://github.com/apache/asterixdb/blob/adfb63361a1808aadb1782aee03acc4d9af8eb0c/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/buffercache/BufferCache.java#L1026], the BufferCache will not unregister the file as it's not in the fileInfoMap.
> This probably the reason for the sporadic issue of the file is already mapped issue?



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