You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2016/08/17 09:05:20 UTC
[jira] [Resolved] (CARBONDATA-110) if user deletes the segment
already selected for compaction then compaction need to get failed.
[ https://issues.apache.org/jira/browse/CARBONDATA-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravindra Pesala resolved CARBONDATA-110.
----------------------------------------
Resolution: Fixed
Fix Version/s: 0.1.0-incubating
https://github.com/HuaweiBigData/carbondata/pull/874
> if user deletes the segment already selected for compaction then compaction need to get failed.
> -----------------------------------------------------------------------------------------------
>
> Key: CARBONDATA-110
> URL: https://issues.apache.org/jira/browse/CARBONDATA-110
> Project: CarbonData
> Issue Type: Bug
> Reporter: ravikiran
> Priority: Minor
> Fix For: 0.1.0-incubating
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)