GitHub user zzcclp opened a pull request:

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

    [CARBONDATA-2230][BACKPORT-1.3]Add a path into table path to store lock 
files and delete useless segment lock files before loading

    
    After PR1984[https://github.com/apache/carbondata/pull/1984] merged, it 
doesn't delete the lock files when unlock, there are many useless lock files in 
table path, especially segment lock files, they grow after every batch loading.
    
    Solution :
    1. add a child path into table path, called Locks, all lock files will be 
stored in this path;
    2. Before loading, get all useless segment lock files and delete them, 
because just segment lock files will grow, other lock files dosen't grow.
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
    
     - [ ] 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.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    


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

    $ git pull https://github.com/zzcclp/carbondata CARBONDATA-2230_backport_1.3

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

    https://github.com/apache/carbondata/pull/2076.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 #2076
    
----

----


---

Reply via email to