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

Node OOMs on commit log replay when starting up

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.11, 2.0.2
    • Component/s: None
    • Labels:
      None

      Description

      After some activity on batchlogs and hints and CFs restarted nodes without finished draining. On startup it OOMs.

      Investigating it found, that memtables occupied all available RAM, because MeteredFlusher is started later in setup code, so memtables cannot flush.

      Fixed by starting metered flusher before commit log replay starts

      1. CassandraDaemon.txt
        2 kB
        Oleg Anastasyev

        Activity

        Hide
        jbellis Jonathan Ellis added a comment -

        committed

        Show
        jbellis Jonathan Ellis added a comment - committed

          People

          • Assignee:
            m0nstermind Oleg Anastasyev
            Reporter:
            m0nstermind Oleg Anastasyev
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development