bobhan1 opened a new pull request, #63981: URL: https://github.com/apache/doris/pull/63981
## Summary Backport the cloud schema-change rowset graph normalization fix to `branch-4.0`. This changes the cloud schema-change delete-bitmap preparation path so the temporary tablet rowset graph is normalized before delete bitmap capture. It prevents schema change from keeping stale or polluted rowset graph paths after compaction output has replaced older rowsets. ## Root Cause In cloud MOW schema change, the delete bitmap capture path can observe a temporary tablet rowset graph that still contains stale paths around compaction output. When schema change later captures visible rowsets from that graph, delete bitmap recomputation can be based on an inconsistent rowset graph and lose the intended compaction replacement relationship. ## Changes - Add a cloud tablet helper to replace schema-change output rowsets and clean polluted graph paths. - Use the helper in the cloud schema-change delete-bitmap processing path before capturing rowsets. - Add BE unit coverage for schema-change rowset replacement, version-hole filling, stale path cleanup, and compaction interaction cases. ## Validation - `git diff HEAD^ HEAD --check` - `./run-be-ut.sh --run --filter=CloudTabletDeleteRowsetsForSchemaChangeTest.* -j100` -- 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]
