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

Node refuses to start with exception in ColumnFamilyStore.removeUnfinishedCompactionLeftovers when find that some to be removed files are already removed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      Description

      Node refuses to start with

      Caused by: java.lang.IllegalStateException: Unfinished compactions reference missing sstables. This should never happen since compactions are marked finished before we start removing the old sstables.
            at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:544)
            at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:262)
      

      IMO, there is no reason to refuse to start discivering files that must be removed are already removed. It looks like pure bug diagnostic code and mean nothing to operator (nor he can do anything about this).

      Replaced throw of excepion with dump of diagnostic warning and continue startup.

        Attachments

        1. 6086-2.0-v3.txt
          18 kB
          Tom Hobbs
        2. 6086-v2.txt
          2 kB
          Yuki Morishita
        3. removeUnfinishedCompactionLeftovers.txt
          2 kB
          Oleg Anastasyev

          Issue Links

            Activity

              People

              • Assignee:
                thobbs Tom Hobbs
                Reporter:
                m0nstermind Oleg Anastasyev
                Authors:
                Tom Hobbs
                Reviewers:
                Yuki Morishita
              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: