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

runWithCompactionsDisabled only cancels compactions, which is not the only source of markCompacted

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Operations like repair that may operate over all sstables cancel compactions before beginning, and fail if there are any files marked compacting after doing so. Redistribution of index summaries is not a compaction, so is not cancelled by this action, but does mark sstables as compacting, so such an action will fail to initiate if there is an index summary redistribution in progress. It seems that IndexSummaryManager needs to register itself as interruptible along with compactions (AFAICT no other actions that may markCompacting are not themselves compactions).

      Attachments

        1. 8805-2.1.txt
          40 kB
          Carl Yeksigian

        Activity

          People

            carlyeks Carl Yeksigian
            benedict Benedict Elliott Smith
            Carl Yeksigian
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: