[jira] [Created] (CARBONDATA-1797) Segment_Index compaction should take compaction lock to support concurrent scenarios better

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1797) Segment_Index compaction should take compaction lock to support concurrent scenarios better

Akash R Nilugal (Jira)
dhatchayani created CARBONDATA-1797:
---------------------------------------

             Summary: Segment_Index compaction should take compaction lock to support concurrent scenarios better
                 Key: CARBONDATA-1797
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1797
             Project: CarbonData
          Issue Type: Bug
            Reporter: dhatchayani
            Assignee: dhatchayani


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)