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

Fix BufferCache API/Lifecycle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: STO - Storage
    • Labels:
      None

      Description

      Currently, BufferCache has an interesting behavior such as:
      1. CreateFile doesn't create a file but only create a name-id mapping in memory.
      2. To get the id of a file, the caller must have access to the map associated with the buffer cache.
      3. openFile. If create file was called before openFile, then it creates the file. If the file already exists, it deletes it and create a new file.

      This should be fixed and given clear behavior that matches the expected API. All usages of the buffer cache must be fixed as well.

        Attachments

          Activity

            People

            • Assignee:
              amoudi Abdullah Alamoudi
              Reporter:
              amoudi Abdullah Alamoudi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: