Login  Register

[GitHub] [carbondata] liuhe0702 opened a new pull request #4102: [CARBONDATA-4144] After the alter table xxx compact command is executed, the index size of the segment is 0, and an error is rep…orted while quering

Posted by GitBox on Mar 10, 2021; 7:59am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-liuhe0702-opened-a-new-pull-request-4102-CARBONDATA-4144-After-the-alter-table-xxxg-tp106646.html


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:
[hidden email]