liuhe0702 opened a new pull request #4102:
URL: https://github.com/apache/carbondata/pull/4102


   Why is this PR needed?
   When compact operation fails, the segment lock is not released. Failed to 
get segment lock when compaction is executed again.
   In this case, the merged segment status is set to success and the 
segmentfile is xxx_null.segments and the vaule of indexsize is 0.
   
   What changes were proposed in this PR?
   If an exception occurs, release the obtained segment locks.
   If getting segment locks failed, not update the merged segment status.
   
   Does this PR introduce any user interface change?
   No
   
   Is any new testcase added?
   No
   
       
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to