From 9fab6423cdf2915317a486969313ab3a87a7bec2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 19 Mar 2008 16:03:12 +0000 Subject: [PATCH] Fix large number of JobMedia records reported by Eric Bollengier git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6631 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/projects | 2 +- bacula/src/stored/block.c | 1 - bacula/src/stored/device.c | 1 + bacula/src/stored/stored_conf.c | 2 +- bacula/technotes-2.3 | 2 ++ 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bacula/projects b/bacula/projects index ef0dd3ec83..ac00b840aa 100644 --- a/bacula/projects +++ b/bacula/projects @@ -1,7 +1,7 @@ Projects: Bacula Projects Roadmap - Status updated 22 February 2008 + Status updated 19 March 2008 Items Completed: diff --git a/bacula/src/stored/block.c b/bacula/src/stored/block.c index 6129c8297c..5efc332669 100644 --- a/bacula/src/stored/block.c +++ b/bacula/src/stored/block.c @@ -374,7 +374,6 @@ bool write_block_to_device(DCR *dcr) if (dcr->NewVol) { /* Note, setting a new volume also handles any pending new file */ set_new_volume_parameters(dcr); - dcr->NewFile = false; /* this handled for new file too */ } else { set_new_file_parameters(dcr); } diff --git a/bacula/src/stored/device.c b/bacula/src/stored/device.c index b38b512d0b..50ab5dab1a 100644 --- a/bacula/src/stored/device.c +++ b/bacula/src/stored/device.c @@ -226,6 +226,7 @@ void set_new_volume_parameters(DCR *dcr) } set_new_file_parameters(dcr); jcr->NumWriteVolumes++; + dcr->NewVol = false; } /* diff --git a/bacula/src/stored/stored_conf.c b/bacula/src/stored/stored_conf.c index 877c4a51d8..8857ddda56 100644 --- a/bacula/src/stored/stored_conf.c +++ b/bacula/src/stored/stored_conf.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. + Copyright (C) 2000-2008 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index a3c0d4611a..19140e3a15 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,8 @@ Technical notes on version 2.3 General: +19Mar08 +kes Fix large number of JobMedia records reported by Eric Bollengier. 18Mar08 kes Apply doc fix from bug #1062. kes Resolve crash and improper restore wx-console Win32 restore -- 2.39.5