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

Handle failures in upgradesstables/cleanup/relocate

    XMLWordPrintableJSON

    Details

    • Bug Category:
      Correctness - API / Semantic Implementation
    • Severity:
      Normal
    • Complexity:
      Challenging
    • Discovered By:
      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

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: