Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-5661

Discard pooled readers for cold data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.1
    • None
    • None
    • Normal

    Description

      Reader pooling was introduced in CASSANDRA-4942 but pooled RandomAccessReaders are never cleaned up until the SSTableReader is closed. So memory use is "the worst case simultaneous RAR we had open for this file, forever."

      We should introduce a global limit on how much memory to use for RAR, and evict old ones.

      Attachments

        1. Histogram.png
          44 kB
          Jeremiah Jordan
        2. DominatorTree.png
          271 kB
          Jeremiah Jordan
        3. CASSANDRA-5661-global-multiway-cache.patch
          5 kB
          Pavel Yaskevich
        4. CASSANDRA-5661.patch
          10 kB
          Pavel Yaskevich

        Issue Links

          Activity

            People

              xedin Pavel Yaskevich
              jbellis Jonathan Ellis
              Pavel Yaskevich
              Jonathan Ellis
              Daniel Meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: