- Document Heartbeat Interval in the dealing with firewalls section.
For 1.37:
+- Implement "PreferMountedVolumes = yes|no" in Job resource.
=== rate design
jcr->last_rate
jcr->last_runtime
- Make bootstrap file handle multiple MediaTypes (SD)
- Test restoring into a user restricted directory on Win32 -- see
bug report.
-- Fix 3993 error in SD. It forgets to look at autochanger
- resource for device command, ...
- --without-openssl breaks at least on Solaris.
- Python:
- Make a callback when Rerun failed levels is called.
- Make sure that Python has access to Client address/port so that
it can check if Clients are alive.
-- Implement "NewVolumeEachJob = yes|no" in Dir.
- Remove all old Device resource code in Dir and code to pass it
back in SD -- better, rework it to pass back device statistics.
- Check locking of resources -- be sure to lock devices where previously
- Require restore via the restore command or make a restore Job
get the bootstrap file.
- Implement Maximum Job Spool Size
-
+- Fix 3993 error in SD. It forgets to look at autochanger
+ resource for device command, ...
General:
Changes to 1.37.20:
+04Jun05
+- Minor changes
01Jun05
- Add more documentation to mtx-changer.in
- Correct link to manual in authenticate.c in various
int size() const;
void destroy();
void grow(int num);
+
+ /* Use it as a stack, pushing and poping from the end */
+ void push(void *item) { append(item); };
+ void pop() { num_items?NULL:remove(num_items-1); };
};
inline void * alist::operator [](int index) const {
* With the reservation system, this should not happen
*/
if (dev->can_read()) {
- Jmsg(jcr, M_FATAL, 0, _("Device %s is busy reading.\n"), dev->print_name());
+ Jmsg1(jcr, M_FATAL, 0, _("Device %s is busy reading.\n"), dev->print_name());
goto get_out;
}
/* From wait.c */
int wait_for_sysop(DCR *dcr);
-bool wait_for_device(JCR *jcr, const char *msg, bool first);
+bool wait_for_device(JCR *jcr, bool first);
* Returns: true if a device has changed state
* false if the total wait time has expired.
*/
-bool wait_for_device(JCR *jcr, const char *msg, bool first)
+bool wait_for_device(JCR *jcr, bool first)
{
struct timeval tv;
struct timezone tz;
P(device_release_mutex);
if (first) {
- Jmsg(jcr, M_MOUNT, 0, msg);
+ Jmsg(jcr, M_MOUNT, 0, _("Job %s waiting to obtain a device.\n"), jcr->Job);
}
/*
if (!double_jcr_wait_time(jcr)) {
break; /* give up */
}
- Jmsg(jcr, M_MOUNT, 0, msg);
+ Jmsg(jcr, M_MOUNT, 0, _("Job %s waiting to obtain a device.\n"), jcr->Job);
}
add_wait = jcr->wait_sec - (now - start);
}
/*
- * The jcr timers are used for waiting on any device
- *
+ * The jcr timers are used for waiting on any device *
* Returns: true if time doubled
* false if max time expired
*/
/* */
#undef VERSION
#define VERSION "1.37.20"
-#define BDATE "01 June 2005"
-#define LSMDATE "01Jun05"
+#define BDATE "04 June 2005"
+#define LSMDATE "04Jun05"
/* Debug flags */
#undef DEBUG