Patches Committed:
20Nov08
patches/testing/1175-unique-inchanger.patch
-
-Patches being Tested:
-12Nov08
patches/testing/1182-recycle-flag.patch
-ebl Update Recycle flag during a db_media_update_record()
+Patches being Tested:
patches/testing/fileid64.patch
ebl Update the FileId_t to 64bit, update catalog creation and
upgrade scripts.
+++ /dev/null
-
- This patch should fix the bug #1182 about Recycle flag
- that is not updated after a pool change.
- Should work for 2.4.3.
-
- cd <bacula-source>
- patch -p0 <1182-prune.patch
- ./configure <your-options>
- make
- ...
- make install
-
-Index: src/cats/sql_update.c
-===================================================================
---- src/cats/sql_update.c (révision 7981)
-+++ src/cats/sql_update.c (copie de travail)
-@@ -384,7 +384,7 @@
- "Slot=%d,InChanger=%d,VolReadTime=%s,VolWriteTime=%s,VolParts=%d,"
- "LabelType=%d,StorageId=%s,PoolId=%s,VolRetention=%s,VolUseDuration=%s,"
- "MaxVolJobs=%d,MaxVolFiles=%d,Enabled=%d,LocationId=%s,"
-- "ScratchPoolId=%s,RecyclePoolId=%s,RecycleCount=%d"
-+ "ScratchPoolId=%s,RecyclePoolId=%s,RecycleCount=%d,Recycle=%d"
- " WHERE VolumeName='%s'",
- mr->VolJobs, mr->VolFiles, mr->VolBlocks, edit_uint64(mr->VolBytes, ed1),
- mr->VolMounts, mr->VolErrors, mr->VolWrites,
-@@ -402,7 +402,7 @@
- mr->Enabled, edit_uint64(mr->LocationId, ed9),
- edit_uint64(mr->ScratchPoolId, ed10),
- edit_uint64(mr->RecyclePoolId, ed11),
-- mr->RecycleCount,
-+ mr->RecycleCount,mr->Recycle,
- mr->VolumeName);
-
- Dmsg1(400, "%s\n", mdb->cmd);
"Slot=%d,InChanger=%d,VolReadTime=%s,VolWriteTime=%s,VolParts=%d,"
"LabelType=%d,StorageId=%s,PoolId=%s,VolRetention=%s,VolUseDuration=%s,"
"MaxVolJobs=%d,MaxVolFiles=%d,Enabled=%d,LocationId=%s,"
- "ScratchPoolId=%s,RecyclePoolId=%s,RecycleCount=%d"
+ "ScratchPoolId=%s,RecyclePoolId=%s,RecycleCount=%d,Recycle=%d"
" WHERE VolumeName='%s'",
mr->VolJobs, mr->VolFiles, mr->VolBlocks, edit_uint64(mr->VolBytes, ed1),
mr->VolMounts, mr->VolErrors, mr->VolWrites,
mr->Enabled, edit_uint64(mr->LocationId, ed9),
edit_uint64(mr->ScratchPoolId, ed10),
edit_uint64(mr->RecyclePoolId, ed11),
- mr->RecycleCount,
+ mr->RecycleCount,mr->Recycle,
mr->VolumeName);
Dmsg1(400, "%s\n", mdb->cmd);
General:
20Nov08
+ebl Apply patch for bug #1182 about Recycle flag
+ that is not updated after a pool change.
kes Since the user has been warned, allow console purge command
to purge volumes that are in use.
kes Fix Win32 build to add new sd_plugins.c