[GitHub] [carbondata] Karan980 opened a new pull request #4093: [CARBONDATA-4126] Concurrent compaction failed with load on table.
Posted by
GitBox on
Feb 11, 2021; 7:52am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-Karan980-opened-a-new-pull-request-4093-CARBONDATA-4126-Concurrent-compaction-fail-tp106137.html
Karan980 opened a new pull request #4093:
URL:
https://github.com/apache/carbondata/pull/4093 ### Why is this PR needed?
Concurrent compaction was failing when run in parallel with load. During load we acquire SegmentLock for a particular segment, and when this same lock we try to acquire during compaction, we were not able to acquire this lock and compaction fails.
### What changes were proposed in this PR?
Skipped compaction for segments for which we are not able to acquire the SegmentLock instead of throwing the exception.
### 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]