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

job-manager: journal jobspec with submit event #5955

Merged
merged 1 commit into from
May 10, 2024

Conversation

garlick
Copy link
Member

@garlick garlick commented May 10, 2024

Problem: job-list logs "update_jobspec: job xxx received jobspec update before jobspec" when flux-accounting sets a default bank.

The job manager journal attached the jobspec to the validate event, so it is not available when jobspec-update events are sent before validate.

Send it with submit instead of validate. Adjust job-list to handle it with the submit event.

Fixes #5951

Problem: job-list logs "update_jobspec: job xxx received jobspec
update before jobspec" when flux-accounting sets a default bank.

The job manager journal attached the jobspec to the validate event,
so it is not available when jobspec-update events are sent before
validate.

Send it with submit instead of validate.  Adjust job-list to handle
it with the submit event.

Fixes flux-framework#5951
Copy link
Member

@chu11 chu11 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.29%. Comparing base (68e4791) to head (39196ad).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5955      +/-   ##
==========================================
- Coverage   83.30%   83.29%   -0.02%     
==========================================
  Files         515      515              
  Lines       83396    83396              
==========================================
- Hits        69475    69464      -11     
- Misses      13921    13932      +11     
Files Coverage Δ
src/modules/job-list/job_state.c 75.41% <100.00%> (-0.42%) ⬇️
src/modules/job-manager/journal.c 80.34% <100.00%> (ø)

... and 9 files with indirect coverage changes

@mergify mergify bot merged commit fb85782 into flux-framework:master May 10, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job-list: received jobspec update before jobspec
2 participants