xy720 opened a new pull request, #25654: URL: https://github.com/apache/doris/pull/25654
## Proposed changes Recently, in version 1.2.7, we encountered a situation where all replicas of tablets in table are having missing versions. In this case, FE is unable to recover these tablets, and the table is unable to select. In pr #18986, I noticed that we have support config `recover_with_skip_missing_version` to ignore the visible version in FE partition. This config only work when the replica version is behind partition version. But if the replica on be has a version missing, it actually does not skip any missing versions on be. For example, 1、if the replica versions in BE is {1-100, 101, 102, 103}, the partition visible version is 100, `recover_with_skip_missing_version` = `ignore_version` is working well. 2、if the replica versions in BE is {1-100, 103}, the partition visible version is 100, `recover_with_skip_missing_version` = `ignore_version` is not working. This commit support actually skipping missing version in BE when the config `recover_with_skip_missing_version` is set to `ignore_version` or `ignore_all`. <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org