Skip to content
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

DM-30977: Accumulate log messages per quantum and store in butler #130

Merged
merged 8 commits into from Jul 26, 2021

Conversation

timj
Copy link
Member

@timj timj commented Jul 20, 2021

Relies on lsst/daf_butler#546 and lsst/pipe_base#193

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Copy link
Collaborator

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

python/lsst/ctrl/mpexec/singleQuantumExecutor.py Outdated Show resolved Hide resolved
timj added 3 commits July 24, 2021 20:59
With debug enabled characterizeImage generates half a million
log messages adding up to 500MB of JSON data. Accumulating in memory
is not reasonable in that scenario. Therefore we now accumulate
into a temp file and ingest that file when the quantum has
completed.
Copy link
Collaborator

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one docstring comment.

python/lsst/ctrl/mpexec/singleQuantumExecutor.py Outdated Show resolved Hide resolved
@timj timj merged commit 921ce97 into master Jul 26, 2021
@timj timj deleted the tickets/DM-30977 branch July 26, 2021 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants