liaoxin01 opened a new pull request, #63443: URL: https://github.com/apache/doris/pull/63443
### What problem does this PR solve? Issue Number: None Related PR: None Problem Summary: During cloud schema change, empty rowsets created while calculating delete bitmap were only added to a temporary tablet. The real new tablet could become RUNNING with a local version graph hole after the alter version. Subsequent delete bitmap sync on the RUNNING MOW tablet captures old rowset ids before filling local holes, so it can fail to find a continuous version path. This change fills version holes on the real new tablet after adding schema change output rowsets and before switching it to RUNNING. It preserves the existing schema change rule that skips holes at or below alter_version. A unit test covers the local graph repair and verifies capture_consistent_versions can traverse through the filled empty rowset. ### Release note None ### Check List (For Author) - Test: Unit Test attempted with ./run-be-ut.sh --run --filter=CloudTabletDeleteRowsetsForSchemaChangeTest.TestFillVersionHolesBeforeSchemaChangeRunning -j 8, but local BE UT build was blocked because thirdparty/installed/lib64/libaws-cpp-sdk-kinesis.a is missing. - Behavior changed: Yes. Cloud schema change now repairs local version holes on the real new tablet before it becomes RUNNING. - Does this need documentation: 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
