]> git.sur5r.net Git - bacula/bacula/commitdiff
Cosmetics for Recyle Oldest Volume
authorKern Sibbald <kern@sibbald.com>
Mon, 23 Jun 2003 13:30:30 +0000 (13:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 23 Jun 2003 13:30:30 +0000 (13:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@606 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ReleaseNotes
bacula/kernstodo
bacula/src/cats/sql_find.c
bacula/src/dird/catreq.c
bacula/src/version.h

index cd7ea3caade2429cc0576703b495920c989510c7..f34f01dfcc37430c240d2e57e01edc98475048f1 100644 (file)
@@ -23,6 +23,7 @@ Major Changes this Release:
 
 
 Other Changes this Release:
+- Restore checks block numbers to ensure that no block is lost.
 - The new console var command allows testing variable expansion
   used in automatic tape name generation.
 - The new console estimate command allows you to test FileSets
index a877eb8e0001dd9ab6d47be2752afcbec94fd11a..d4dd548770f60769747a9dbf6b3864d06c4a5c77 100644 (file)
@@ -1,5 +1,5 @@
                  Kern's ToDo List
-                  18 June 2003 
+                  22 June 2003 
 
 Documentation to do: (any release a little bit at a time)
 - Document running a test version.
@@ -34,6 +34,13 @@ Testing to do: (painful)
 - Figure out how to use ssh or stunnel to protect Bacula communications.
 
 For 1.31 release:
+- Check that Block number in JobMedia are correct.
+- Complain if record dropped in bnet_recv because too long.
+- Suppress Job Name in Jmsg for console
+- Check Jmsg in bnet, may not work, must dup bsock.
+- Use SD returned values in report -- or add them.
+- Increment DB version prior to releasing.
+- Turn off FULL_DEBUG prior to releasing.
 - Implement forward spacing block/file: position_device(bsr) --
   just before read_block_from_device();
 - On Windows with very long path names, it may be impossible to create 
index b83d06fe72c6b61cceed997d23204165517f4fd9..7a29ac141b72c87bd3a238101e830af676d520b6 100644 (file)
@@ -214,7 +214,7 @@ db_find_next_volume(JCR *jcr, B_DB *mdb, int item, MEDIA_DBR *mr)
 "FirstWritten,LastWritten "
 "FROM Media WHERE PoolId=%u AND MediaType='%s' AND VolStatus IN ('Full',"
 "'Recycle','Purged','Used','Append') "
-"ORDER BY LastWritten", mr->PoolId, mr->MediaType); 
+"ORDER BY LastWritten LIMIT 1", mr->PoolId, mr->MediaType); 
      item = 1;
    } else {
       /* Find next available volume */
index a003df963178364129fe27847498a4fd8c0c8f30..e2083a30ae481e58bc408008b375dd5134313d9f 100644 (file)
@@ -118,7 +118,7 @@ next_volume:
                Dmsg0(400, "Try purge.\n");
               /* Try to purge oldest volume */
               ua = new_ua_context(jcr);
-               Jmsg(jcr, M_INFO, 0, _("Purging oldest volume \"%s\"\n"), mr.VolumeName);
+               Jmsg(jcr, M_INFO, 0, _("Recycling oldest volume \"%s\"\n"), mr.VolumeName);
               ok = purge_jobs_from_volume(ua, &mr);
               free_ua_context(ua);
               if (ok) {
index 59137f6c30656a1c4c992976f27a307ab90b7ad5..d11ad29c99248a720436858ae3e0db3ed04a0adb 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #define VERSION "1.31"
 #define VSTRING "1"
-#define BDATE   "21 Jun 2003"
-#define LSMDATE "21Jun03"
+#define BDATE   "22 Jun 2003"
+#define LSMDATE "22Jun03"
 
 /* Debug flags */
 #define DEBUG 1