GitHub user akashrn5 opened a pull request:

    https://github.com/apache/carbondata/pull/1979

    [CARBONDATA-2183]fix compaction when segment is delete during compaction 
and remove unnecessary parameters in functions

    **Problem:**
    when compaction is started and job is running, and parallelly the segment 
involved in the compaction is deleted using DeleteSegmentByID, then compaction 
is success.
    
    **Solution:**
    when compaction is started and job is running, and parallelly the segment 
involved in the compaction is deleted using DeleteSegmentByID, then compaction 
should be aborted and failed. and proper error message should thrown to user. 
THis PR also removes the unnecessary parameters in functions.
    
     - [x] Any interfaces changed?
     NA
     - [x] Any backward compatibility impacted?
     NA
     - [x] Document update required?
    NA
     - [x] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance 
test report.
            - Any additional information to help reviewers in testing this 
change.
           
     - [x] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    NA


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/akashrn5/incubator-carbondata compact_del

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1979.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1979
    
----
commit 500b4f01bd390a57c846de6d3309f143957248dd
Author: akashrn5 <akashnilugal@...>
Date:   2018-02-14T10:15:04Z

    fix compaction when segment is delete during compaction and remove 
unnecessary parameters in functions

----


---

Reply via email to