You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "dhatchayani (JIRA)" <ji...@apache.org> on 2017/11/22 11:40:00 UTC

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

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)