Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2464

createFile() followed by deleteFile() will not unregister the file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      In BufferCache.java#L817, we create the file and register it. However, it does not belong to a FileHandle.

      In BufferCache.java#L1026, the BufferCache will not unregister the file as it's not in the fileInfoMap.

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

      Attachments

        Activity

          People

            wyk Wail Y. Alkowaileet
            wyk Wail Y. Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: