jackylk opened a new pull request #3561: [HOTFIX] Fix INSERT STAGE footer read error URL: https://github.com/apache/carbondata/pull/3561 ### Why is this PR needed? There are 2 issues: 1. INSERT STAGE will skip bytes to read the last long in the carbondata file as the offset to the footer, but sometimes DFS is not skipping the right byte size 2. When error occurs, segment status is not in SUCCESS state, but recovery handling is not doing correctly in INSERT STAGE command ### What changes were proposed in this PR? 1. In CarbonFooterReaderV3.readFooterVersion3, added a while loop to skip required bytes 2. In CarbonInsertFromStageCommand, when recovery is required, delete the segment entry if the entry is not in SUCESS state. ### 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] With regards, Apache Git Services
