akashrn5 opened a new pull request #3227: [CARBONDATA-3394]Clean files command optimization URL: https://github.com/apache/carbondata/pull/3227 ### Problem Clean files is taking of lot of time to finish, even though there are no segments to delete Tested for 5000 segments, and clean files takes 15 minutes time to finish ### Root cause and Solution 1. Lot of table status read operations are were happening during clean files 2. lot of listing operations are happening, even though they are not required. Read and list operations are reduced to reduce overall time for clean files. After changes, for the same store, it takes 35 seconds in same 3 node cluster. Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [x] Any interfaces changed? NA - [x] Any backward compatibility impacted? NA - [x] Document update required? NA - [x] Testing done tested on three node cluster Please provide details on - Whether new unit test cases have been added or why no new tests are required? - How it is tested? Please attach test report. - Is it a performance related change? Please attach the performance test report. - Any additional information to help reviewers in testing this change. - [x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA
---------------------------------------------------------------- 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
