acelyc111 opened a new pull request #3690: URL: https://github.com/apache/incubator-doris/pull/3690
Ref https://github.com/apache/incubator-doris/issues/3687 Current cumulative point calculate algorithm may skip sigleton version rowset when the rowset has only one segment and with NONOVERLAPPING flag. When a tablet is new created and cumulate many singleton version rowsets, cumulative point will be calculated as the max version + 1, and then cumulative compaction couldn't pick any rowsets and compaction failed, and will lead the next base compaction on this tablet with all rowsets, which can also cause memory consume problem, suppose there are thousands of rowsets. All sigleton version rowsets must be newly wrote by delta writer and hasn't do any compaction, we should place cumulative point before any of these rowsets. And also we should store cumulative point into tablet meta. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
