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

Metadata Datasets are Evicted on Low Memory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When many datasets are created and we need to evict unused ones from memory to allocate their space for the newly created ones, metadata datasets are selected as candidates for eviction. Once they are evicted, the system becomes unusable. This is because of of the special treatment of metadata indexes since they are registered only once during metadata bootstrap.

      To reproduce the issue, just create many datasets and insert a record in them to force their memory to be allocated. Eventually, the metadata datasets will be evicted and the instance will be unusable.

        Attachments

          Activity

            People

            • Assignee:
              mhubail Murtadha Makki Al Hubail
              Reporter:
              mhubail Murtadha Makki Al Hubail
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: