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

Increase index_interval and reopen sstables on low heap situations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      One of the reasons that can cause an OOM is key indexes. Of course you can tune it, but that's after your node has crashed. Events like repair can cause a much bigger memory pressure than expected on normal operation. As part of the measures taken when heap is almost full it would be good if key indexes could be shrank. I don't know how indexes are stored in memory but I guess it would be possible to remove entries without rereading all sstables.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hector Héctor Izquierdo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: