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

Added more logging for the job status changing. #2480

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nvflare/private/fed/server/job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def run(self, fl_ctx: FLContext):
},
fl_ctx,
)
self.log_info(f"Updated the schedule history of Job: {job_id}")

if failed_clients:
deployable_clients = {k: v for k, v in client_sites.items() if k not in failed_clients}
Expand All @@ -465,6 +466,7 @@ def run(self, fl_ctx: FLContext):
with self.lock:
self.running_jobs[job_id] = ready_job
job_manager.set_status(ready_job.job_id, RunStatus.RUNNING, fl_ctx)
self.log_info(fl_ctx, f"Job: {job_id} started to run, status changed to RUNNING.")
yhwen marked this conversation as resolved.
Show resolved Hide resolved
except Exception as e:
if job_id:
if job_id in self.running_jobs:
Expand Down
Loading