Kejian-Li opened a new pull request #3947: URL: https://github.com/apache/carbondata/pull/3947
### Why is this PR needed? When some segments's status is INSERT IN PROGRESS, update(or delete) of whole table is not allowed. But the fact is that, update(or delete)'s result can be confirmed to be correct when there is insert operations executed in the meanwhile. We shall allow update(or delete) and insert to be executed concurrently. ### What changes were proposed in this PR? Improve IUD Concurrency by removing the condition: "if there are insertinprogress segments in tablestatus, make update fail directly." Some testcases are added to confirm the result of concurrent insert and update. ### Does this PR introduce any user interface change? - No ### Is any new testcase added? - Yes ---------------------------------------------------------------- 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: us...@infra.apache.org