View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000342 | bareos-core | director | public | 2014-09-25 14:24 | 2015-10-02 19:58 |
Reporter | pstorz | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 14.2.1 | ||||
Summary | 0000342: copy job enhancements | ||||
Description | - copy jobs are executed directly after being scheduled and do not respect maximum job settings. It would be nice if the selection of the jobs to be copied would be done when a normal job would start. - copy job makes n-1 queued jobs and does one job itself. Also, the job seems to change its id to become the worker job. Wouldn't it be much better if the copy job would only queue new worker jobs for all jobids selected and terminate afterwards. | ||||
Tags | No tags attached. | ||||
bareos: master ba230b9d 2014-10-12 20:42 Ported: N/A Details Diff |
First refactoring of Migrate/Copy selection code. Copy and migration jobs do the selection as part of the migration_init function in migrate.c. This means that this selection is done before the actual copy Job is about to run due to Job priority etc. As such it looks as if they are executed directly after being scheduled and do not respect maximum job settings. It would be nice if the selection of the jobs to be copied would be done when a normal job would start as such we moved the selection code to the do_migration() function which gets executed when the actual migration/copy Job is really executing. Copy and migration jobs used to make n-1 queued jobs and does one job itself. Also, the job seems to change its id to become the worker job. Wouldn't it be much better if the copy job would only queue new worker jobs for all jobids selected and terminate afterwards. Also made the number of Job a copy/migrate Job can spawn configurable instead of a hardcoded value of 100. Fixes 0000342: copy job enhancements |
Affected Issues 0000342 |
|
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/jobq.c | Diff File | ||
mod - src/dird/migrate.c | Diff File | ||
mod - src/dird/ua_run.c | Diff File | ||
mod - src/include/jcr.h | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-25 14:24 | pstorz | New Issue | |
2014-10-12 18:44 | mvwieringen | Assigned To | => mvwieringen |
2014-10-12 18:44 | mvwieringen | Status | new => assigned |
2015-02-10 12:53 | mvwieringen | Changeset attached | => bareos master ba230b9d |
2015-02-10 12:53 | mvwieringen | Note Added: 0001271 | |
2015-02-10 12:53 | mvwieringen | Status | assigned => resolved |
2015-02-10 12:53 | mvwieringen | Resolution | open => fixed |
2015-02-14 17:30 |
|
Assigned To | mvwieringen => |
2015-10-02 19:58 |
|
Status | resolved => closed |