Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-110

if user deletes the segment already selected for compaction then compaction need to get failed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0-incubating
    • None
    • None

    Description

      if user deletes the segment already selected for compaction then compaction need to get failed.

      step 1: Start the compaction which selects the segments 0, 1 .

      step 2: delete the segment 1.

      so that delete will immediately make the segment 1 as marked as delete.
      but the compaction is running and it will make the already deleted segment as compacted. like undo the delete.

      Behaviour should be , if any segment gets deleted after the trigger of compaction then we need to fail the compaction process.
      This can be achieved by , check the segments status before updating the compaction status in table status , and if any segment is deleted then need to abort the compaction.

      Attachments

        Activity

          People

            gvramana Venkata Gollamudi
            ravikiran23 ravikiran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: