liaoxin01 opened a new pull request, #70115: URL: https://github.com/apache/doris/pull/70115
### What problem does this PR solve? Issue Number: None Related PR: #69694 Problem Summary: Backport #69694 to `branch-4.2`. An encrypted tablet containing an empty version-hole rowset could be reported as unencrypted when that rowset has no resolvable storage resource. Skip empty rowsets before filesystem resolution and return failures as `ResultError`, so errors are not implicitly converted into `false`. The conflict resolution retains this branch's `Rowset::segment_path(0)` API. Includes tests for empty rowsets and error propagation. ### Release note Fix tablet encryption checks misreporting encrypted tablets with empty rowsets and correctly report filesystem-resolution errors. ### Check List (For Author) - Test: clang-format 16 and `git diff --check` passed. Test constructor and rowset APIs were checked against `branch-4.2`. BE unit tests were not run locally because the local Xcode/toolchain environment blocked the test entry point. CI `run buildall` is requested separately after PR creation. - Behavior changed: Yes. Empty rowsets are skipped and inspection errors are surfaced as errors. - 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]
