-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
xcute: Save sent tasks before they are processed #2101
xcute: Save sent tasks before they are processed #2101
Conversation
oio/xcute/orchestrator.py
Outdated
if exc is not None: | ||
self.logger.warn( | ||
'[job_id=%s] Job has not been updated ' | ||
'with the sent tasks: %s', job_id, exc) | ||
'[job_id=%s] Job could not updated ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not update (without the 'd').
oio/xcute/orchestrator.py
Outdated
old_last_sent) | ||
if exc is not None: | ||
self.logger.warn( | ||
'[job_id=%s] Job could not aborted ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not abort.
oio/xcute/orchestrator.py
Outdated
|
||
_, exc = self.handle_backend_errors(self.backend.free, job_id) | ||
if exc is not None: | ||
self.logger.warn( | ||
'[job_id=%s] Job has not been freed: %s', job_id, exc) | ||
'[job_id=%s] Job could not freed: %s', job_id, exc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not be freed.
2198629
to
e0ceebb
Compare
oio/xcute/orchestrator.py
Outdated
|
||
_, exc = self.handle_backend_errors(self.backend.free, job_id) | ||
if exc is not None: | ||
self.logger.warn( | ||
'[job_id=%s] Job has not been freed: %s', job_id, exc) | ||
'[job_id=%s] Job not be freed: %s', job_id, exc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Job has not been freed" was correct. "Job not freed" would be correct. "Job not be freed" sounds funny.
In some cases, the task was processed before updating the list of sent tasks
e0ceebb
to
cb207f9
Compare
Codecov Report
@@ Coverage Diff @@
## 5.x #2101 +/- ##
==========================================
+ Coverage 78.67% 79.47% +0.80%
==========================================
Files 379 394 +15
Lines 73787 75442 +1655
Branches 6995 6994 -1
==========================================
+ Hits 58045 59950 +1905
+ Misses 15641 15247 -394
- Partials 101 245 +144
Continue to review full report at Codecov.
|
SUMMARY
Save sent tasks before they are processed.
In some cases, the task was processed before updating the list of sent tasks.
ISSUE TYPE
COMPONENT NAME
xcute
SDS VERSION