Wail Alkowaileet created ASTERIXDB-2464:
-------------------------------------------

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


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?



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

Reply via email to