Repository navigation
Preserve unrelated branches during legacy signal recovery - #577
Closed
cmargalejo wants to merge 1 commit into
Closed
cmargalejo wants to merge 1 commit into
cmargalejo wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Superseded by #578.
That PR contains the same recovery fix without the additional test code.
The tests and validation details remain here for reference.
Legacy detector-signal recovery can abort while cloning an unrelated old track branch when the loaded class dictionary has removed a historical TObject base. This reproduces with R00236 and the updated tracklib on both ROOT 6.26 and 6.38 (
fUniqueIDis missing). It is separate from the newer-ROOT compilation fix in #576.Keep the unaffected branches and their existing basket references in the file copy, and rebuild only the detector-signal branch. Update the tree byte counters and replace obsolete EventTree header cycles. The original file remains unchanged, and the existing validation and atomic output publication are retained.
Add a regression that writes an unrelated split branch with the old TObject-based schema, then loads a newer dictionary without that base during recovery. It verifies historical track values, unchanged unrelated basket/key bytes and offsets, valid leaves, byte counters, and a single EventTree cycle. The test uses detectorlib's existing recovery fixtures and runs on Linux/Unix with LD_PRELOAD; it is disabled on macOS.
Validation:
This PR contains no library-pointer or dependency-version changes. It fixes the framework recovery path; generic ROOT cloning of old tracks and the previously identified XML-configuration loss during merging remain separate issues.