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

Handle failures in upgradesstables/cleanup/relocate

    XMLWordPrintableJSON

Details

    • Correctness - API / Semantic Implementation
    • Normal
    • Challenging
    • Adhoc Test

    Description

      If a compaction in parallelAllSSTableOperation throws exception, all current transactions are closed, this can make us close a transaction that has not yet finished (since we can run many of these compactions in parallel). This causes this error:

      java.lang.IllegalStateException: Cannot prepare to commit unless IN_PROGRESS; state is ABORTED
      

      and this can get the leveled manifest (if running LCS) in a bad state causing this error message:

      Could not acquire references for compacting SSTables ...
      

      Attachments

        Activity

          People

            marcuse Marcus Eriksson
            marcuse Marcus Eriksson
            Marcus Eriksson
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: