]> git.sur5r.net Git - bacula/bacula/commit
Fix bug #1751 Make duplicate checking somewhat less naiv.
authorMarco van Wieringen <mvw@planets.elm.net>
Wed, 3 Aug 2011 12:44:50 +0000 (14:44 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Wed, 3 Aug 2011 15:40:40 +0000 (17:40 +0200)
commit5e8ca676b4bc38d8958e7c27258fb188d2b5bdf3
tree0f665531f2ad4fb06821830741280fce6b17fe10
parent4653537410b700ad6e7c72c8f7296b871320d554
Fix bug #1751 Make duplicate checking somewhat less naiv.

We were almost there with excluding duplicate checks for Copy and
Migration jobs. We only used the wrong variable. Now allocated a
new one and made the naming somewhat more comprehensible. And extra
check is added that jobs inserted by Migration and Copy and which
have the flag set are also not compared against normal jobs in the
normal canceling process so you should be able to run a copy job
now and start the normal backup job without it being canceled as
reported by alltech in the bug report.
bacula/src/dird/dird_conf.h
bacula/src/dird/job.c
bacula/src/dird/migrate.c
bacula/src/dird/ua_run.c
bacula/src/jcr.h