bareos: bareos-19.2 c8f85d61

Author Committer Branch Timestamp Parent
arogge arogge bareos-19.2 2020-05-04 13:46 bareos-19.2 ef08163b Pending
Changeset core: sort jobids before purging

previously the list of jobs was not sorted when the prune volume code
ran. This patch sorts the list so the log message and SQL query are
more predictable.
This also changes some prototypes to const where possible (and required
by std::string).
Lastly we add a "wait" in the volume-pruning-test to make sure the
previous jobs have finished before we start the jobs that prunes.

(cherry picked from commit 4b855964e758ff2882bfb800e498a079e91eaa9b)
mod - core/src/dird/ua_purge.cc Diff File
mod - core/src/dird/ua_purge.h Diff File
mod - systemtests/tests/volume-pruning-test/testrunner Diff File