Changesets: bareos

master 777ace02

2014-10-17 14:41

Stephan Duehr


Committer: Marco van Wieringen

Ported: N/A

Details Diff
code cleanup to comply with pep8 and enable static code analysis, passes flake8 check now.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/plugins/filed/BareosFdPluginBaseclass.py Diff File
mod - src/plugins/filed/BareosFdPluginLocalFileset.py Diff File
mod - src/plugins/filed/BareosFdWrapper.py Diff File
mod - src/plugins/filed/bareos-fd-local-fileset.py Diff File

master 55071b99

2014-10-17 12:41

stephand

Ported: N/A

Details Diff
code cleanup to comply with pep8 and enable static code analysis, passes flake8 check now.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/plugins/filed/BareosFdPluginBaseclass.py Diff File
mod - src/plugins/filed/BareosFdPluginLocalFileset.py Diff File
mod - src/plugins/filed/BareosFdWrapper.py Diff File
mod - src/plugins/filed/bareos-fd-local-fileset.py Diff File

bareos-14.2 c6c5b56e

2014-10-17 12:41

stephand

Ported: N/A

Details Diff
code cleanup to comply with pep8 and enable static code analysis, passes flake8 check now.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/plugins/filed/BareosFdPluginBaseclass.py Diff File
mod - src/plugins/filed/BareosFdPluginLocalFileset.py Diff File
mod - src/plugins/filed/BareosFdWrapper.py Diff File
mod - src/plugins/filed/bareos-fd-local-fileset.py Diff File

master 9f0d58a6

2014-10-17 12:27

Marco van Wieringen

Ported: N/A

Details Diff
Tweak address conf code.
mod - src/lib/address_conf.c Diff File

master dd5f3f35

2014-10-17 12:11

Marco van Wieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master 7bf2782e

2014-10-17 10:27

mvwieringen

Ported: N/A

Details Diff
Tweak address conf code.
mod - src/lib/address_conf.c Diff File

master c028a49e

2014-10-17 10:11

mvwieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master 3d0559fa

2014-10-15 15:03

Marco van Wieringen

Ported: N/A

Details Diff
Add new plugin variable handling to python-sd plugin.
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File

master 84b356e0

2014-10-15 13:44

Marco van Wieringen

Ported: N/A

Details Diff
Implement missing SD plugin variables.

Seems when designing the SD plugin variables a copy was made of the
stuff available in the director. That of course doesn't work to well in
the SD as some info is just not available there. Implemented now as many
vars which can be filled with valuable info and removed the others
which make little sense.

Also did a cleanup of all plugin files to output the debug messages
generated for a variable retrieval to look the same.
mod - src/dird/dir_plugins.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

master 60aac963

2014-10-15 13:03

mvwieringen

Ported: N/A

Details Diff
Add new plugin variable handling to python-sd plugin.
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File

bareos-14.2 47ffa405

2014-10-15 13:03

mvwieringen

Ported: N/A

Details Diff
Add new plugin variable handling to python-sd plugin.
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File

master 2fb3e4cb

2014-10-15 11:44

mvwieringen

Ported: N/A

Details Diff
Implement missing SD plugin variables.

Seems when designing the SD plugin variables a copy was made of the
stuff available in the director. That of course doesn't work to well in
the SD as some info is just not available there. Implemented now as many
vars which can be filled with valuable info and removed the others
which make little sense.

Also did a cleanup of all plugin files to output the debug messages
generated for a variable retrieval to look the same.
mod - src/dird/dir_plugins.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

bareos-14.2 6a7fa443

2014-10-15 11:44

mvwieringen

Ported: N/A

Details Diff
Implement missing SD plugin variables.

Seems when designing the SD plugin variables a copy was made of the
stuff available in the director. That of course doesn't work to well in
the SD as some info is just not available there. Implemented now as many
vars which can be filled with valuable info and removed the others
which make little sense.

Also did a cleanup of all plugin files to output the debug messages
generated for a variable retrieval to look the same.
mod - src/dird/dir_plugins.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

master 05df2ba5

2014-10-14 23:02

Marco van Wieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
mod - src/dird/ua_cmds.c Diff File

bareos-12.4 69b9141b

2014-10-14 23:02

Marco van Wieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
mod - src/dird/ua_cmds.c Diff File

bareos-13.2 289aa9d6

2014-10-14 23:02

Marco van Wieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
mod - src/dird/ua_cmds.c Diff File

master 844e325c

2014-10-14 21:02

mvwieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
Affected Issues
0000349
mod - src/dird/ua_cmds.c Diff File

bareos-14.2 a478e309

2014-10-14 21:02

mvwieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
Affected Issues
0000349
mod - src/dird/ua_cmds.c Diff File

bareos-13.2 676d8a15

2014-10-14 21:02

mvwieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
Affected Issues
0000349
mod - src/dird/ua_cmds.c Diff File

bareos-12.4 38ae0b08

2014-10-14 21:02

mvwieringen

Ported: N/A

Details Diff
Make estimate command somewhat more robust.

Fixes 0000349: Director crashes on estimate command of Copy Job
Affected Issues
0000349
mod - src/dird/ua_cmds.c Diff File

master ca13cbc6

2014-10-14 18:07

Marco van Wieringen

Ported: N/A

Details Diff
Tweak Job Scheduling code layout.
mod - src/dird/jobq.c Diff File

master 47015e11

2014-10-14 16:07

mvwieringen

Ported: N/A

Details Diff
Tweak Job Scheduling code layout.
mod - src/dird/jobq.c Diff File

bareos-14.2 f02a2b41

2014-10-14 16:07

mvwieringen

Ported: N/A

Details Diff
Tweak Job Scheduling code layout.
mod - src/dird/jobq.c Diff File

master ba230b9d

2014-10-12 20:42

mvwieringen

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

master e6425a10

2014-10-12 20:42

Marco van Wieringen

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
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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 521 522 523 524 525 526 527 ... 540 ... 600 ... 607 608 609  Next  Last