Skip to content

[6.36][io] TFileMerger: fail by default on invalid keys #18919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

silverweed
Copy link
Contributor

BP of #18800

This commit introduces a `Error Behavior` flag in TFileMerger that
determines what should happen upon encountering errors. The only place
where this flag is currently honored is when reading an object's key
inside MergeOne(): up until now if an error happened when retrieving an
object from a file, the file would just be skipped. With the
introduction of this flag, you can decide whether the file is skipped or
if the merging process should abort.
For consistency with hadd, the default behavior has been set to Fail.
Using `hadd -k` will set the behavior to Skip.

(cherry picked from commit 5f5fa73)
@silverweed silverweed self-assigned this May 30, 2025
@silverweed silverweed requested review from pcanal and dpiparo as code owners May 30, 2025 11:06
Copy link

github-actions bot commented May 30, 2025

Test Results

    19 files      19 suites   3d 13h 24m 50s ⏱️
 2 747 tests  2 746 ✅ 0 💤 1 ❌
50 494 runs  50 493 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 3cc3873.

♻️ This comment has been updated with latest results.

@silverweed silverweed added the clean build Ask CI to do non-incremental build on PR label Jun 2, 2025
@silverweed silverweed closed this Jun 2, 2025
@silverweed silverweed reopened this Jun 2, 2025
@silverweed silverweed merged commit 38996ff into root-project:v6-36-00-patches Jun 3, 2025
42 of 45 checks passed
@silverweed silverweed deleted the 636_tfilemerger_failonerr branch June 3, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean build Ask CI to do non-incremental build on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants