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

Segment_Index compaction should take compaction lock to support concurrent scenarios better

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • None

    Description

      SEGMENT_INDEX compaction is not taking compaction lock. While concurrent operation, this may be successful but the output may not be as expected.

      Scenario:
      Execute MINOR compaction and SEGMENT_INDEX compaction concurrently.
      As SEGMENT_INDEX compaction is not taking any lock it will do tasks in between, finally some segments index files will be merged, probably the newly created segments may be left out.

      Solution:
      To take compaction lock

      Attachments

        Issue Links

          Activity

            People

              dhatchayani dhatchayani
              dhatchayani dhatchayani
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m