From: Kern Sibbald Date: Sat, 24 Mar 2007 21:55:54 +0000 (+0000) Subject: kes Write new subroutine is_volume_purged() that explicitly checks X-Git-Tag: Release-2.2.0~866 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee4dd06561e6fdd706c21f72cf6e88b40f5ed728;p=bacula%2Frescue kes Write new subroutine is_volume_purged() that explicitly checks if the Volume is purged, and if so marks it as such. This should resolve problems reported about needing to mount twice to recycle volumes. kes Rewrite pruning algorithm to do more work in the SQL engine, and to pass a list of JobIds to be deleted to SQL. Also, minimize the amount of duplicated code. kes Do volume pruning only for the Media Type desired (reduces pruning time if multiple Media Types are in the same pool). kes Implement more detailed info in the Job report for the Bacula version and architecture. kes Switch from POOLMEM to POOL_MEM (a real class) in ua_prune.c and ua_purge.c. ---