Kern's ToDo List
- 21 August 2003
+ 24 August 2003
Documentation to do: (any release a little bit at a time)
- Document running a test version.
- Figure out how to use ssh or stunnel to protect Bacula communications.
For 1.32:
+- Write JobMedia records with max file size is reached on tape.
+- Look at the possibility of loading only the necessary
+ data into the restore tree (i.e. do it one directory at a
+ time as the user walks through the tree).
+- Possibly use the hash code if the user selects all.
+- Handle the case of multiple JobMedia records pending (i.e. the
+ thread is slow and multiple situations requiring a JobMedia
+ record occur).
+- Fix maximum file size (block.c) to generate JobMedia records.
+- Do performance analysis on the restore tree routines.
+- Implement forward spacing between files.
+- Make the default file size 1GB on the tape.
+- Orphaned Dir buffer at parse_conf.c:373 => store_dir
+- Implement some way for the File daemon to contact the Director
+ to start a job or pass its DHCP obtained IP number.
- Implement multiple Consoles.
- Add Console usr permissions.
- Fix "restore all" to bypass building the tree.
- Fix read_record to handle multiple sessions.
- Tip from Steve Allam
mt -f /dev/nst0 defblksize 0
-
</signal>
<title>Bacula Console</title>
<type>GTK_WINDOW_TOPLEVEL</type>
- <position>GTK_WIN_POS_NONE</position>
+ <position>GTK_WIN_POS_CENTER</position>
<modal>False</modal>
+ <default_width>800</default_width>
+ <default_height>500</default_height>
<allow_shrink>True</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
/* Terminate the heartbeat thread. Used for both SD and DIR */
void stop_heartbeat_monitor(JCR *jcr)
{
- /* Wait for heartbeat thread to start */
- while (jcr->hb_bsock == NULL) {
+ int cnt = 0;
+ /* Wait max 10 secs for heartbeat thread to start */
+ while (jcr->hb_bsock == NULL && cnt++ < 200) {
bmicrosleep(0, 50); /* avoid race */
}
- jcr->hb_bsock->timed_out = 1; /* set timed_out to terminate read */
- jcr->hb_bsock->terminated = 1; /* set to terminate read */
- /* Wait for heartbeat thread to stop */
- while (jcr->hb_bsock) {
+ if (jcr->hb_bsock) {
+ jcr->hb_bsock->timed_out = 1; /* set timed_out to terminate read */
+ jcr->hb_bsock->terminated = 1; /* set to terminate read */
+ }
+ cnt = 0;
+ /* Wait max 100 secs for heartbeat thread to stop */
+ while (jcr->hb_bsock && cnt++ < 200) {
/* Naturally, Cygwin 1.3.20 craps out on the following */
pthread_kill(jcr->heartbeat_id, TIMEOUT_SIGNAL); /* make heartbeat thread go away */
bmicrosleep(0, 500);
#undef VERSION
#define VERSION "1.32"
#define VSTRING "1"
-#define BDATE "20 Aug 2003"
-#define LSMDATE "20Aug03"
+#define BDATE "24 Aug 2003"
+#define LSMDATE "24Aug03"
/* Debug flags */
#undef DEBUG