From: Kern Sibbald Date: Sun, 5 Jul 2009 16:51:23 +0000 (+0000) Subject: Turn off bat debug code X-Git-Tag: Release-3.0.2~106 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65bf18c604662f3f9e61e56615af5b7375f87765;p=bacula%2Fbacula Turn off bat debug code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8960 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/kernstodo b/bacula/kernstodo index 2d2f3d7a06..094281543a 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -81,6 +81,12 @@ Professional Needs: Priority: ================ +- When reserving a device to read, check to see if the Volume + is already in use, if so wait. Probably will need to pass the + Volume. See bug #1313. Create a regression test to simulate + this problem and see if VolumePollInterval fixes it. Possibly turn + it on by default. + - Fix restore of acls and extended attributes to count ERROR messages and make errors non-fatal. - Put save/restore various platform acl/xattrs on a pointer to simplify diff --git a/bacula/src/qt-console/storage/storage.cpp b/bacula/src/qt-console/storage/storage.cpp index 04b20ba5fe..089b64817d 100644 --- a/bacula/src/qt-console/storage/storage.cpp +++ b/bacula/src/qt-console/storage/storage.cpp @@ -451,12 +451,16 @@ void Storage::settingsOpenStatus(QString &storage) settings.beginGroup("OpenOnExit"); QString toRead = "StorageStatus_" + storage; if (settings.value(toRead) == 1) { - Pmsg1(000, "Do open Storage Status window for : %s\n", storage.toUtf8().data()); + if (mainWin->m_sqlDebug) { + Pmsg1(000, "Do open Storage Status window for : %s\n", storage.toUtf8().data()); + } new StorStat(storage, mainWin->getFromHash(this)); setCurrent(); mainWin->getFromHash(this)->setExpanded(true); } else { - Pmsg1(000, "Do NOT open Storage Status window for : %s\n", storage.toUtf8().data()); + if (mainWin->m_sqlDebug) { + Pmsg1(000, "Do NOT open Storage Status window for : %s\n", storage.toUtf8().data()); + } } settings.endGroup(); }