Repository navigation
[9.1] condor history missing only - #8859
Merged
fstagni merged 2 commits intoOct 28, 2026
Merged
Conversation
condor_history reads the whole history file for IDs it cannot find, and getJobStatus asked it for every job, including those condor_q had just returned. With tens of thousands of running pilots polled 100 at a time, each poll scanned the full history file. Assisted-by: Claude:claude-opus-5-5
…the queue Since DIRACGrid#7069 getJobStatus built the condor_history command but executed condor_q a second time, so jobs that had left the queue were reported Unknown (then Aborted by the SiteDirector after an hour) instead of their final status. Run the history command, only for the IDs condor_q did not return, as in the Condor batch system. The tests now check what the history call is asked for: they passed with the wrong command before. Assisted-by: Claude:claude-opus-5-5
fstagni
approved these changes
Oct 28, 2026
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.
In HTCondor and Condor, we don't actually need to run
condor_historyon every jobID as it's currently done.Providing the ID not returned by
condor_qis enough and avoid any unnecessary operations.BEGINRELEASENOTES
FIX: only query condor_history for jobs that are no longer in the queue
ENDRELEASENOTES