+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<HTML>
- <HEAD>
- <TITLE> [IRCServices] forceload option automatically runs
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20forceload%20option%20automatically%20runs&In-Reply-To=Pine.BSF.4.64.0705161019310.92101%40server2.shellworld.net">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="005277.html">
- <LINK REL="Next" HREF="005281.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[IRCServices] forceload option automatically runs</H1>
- <B>Andrew Church</B>
- <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20forceload%20option%20automatically%20runs&In-Reply-To=Pine.BSF.4.64.0705161019310.92101%40server2.shellworld.net"
- TITLE="[IRCServices] forceload option automatically runs">achurch at achurch.org
- </A><BR>
- <I>Thu May 17 04:59:07 PDT 2007</I>
- <P><UL>
- <LI>Previous message: <A HREF="005277.html">[IRCServices] forceload option automatically runs
-</A></li>
- <LI>Next message: <A HREF="005281.html">[IRCServices] forceload option automatically runs
-</A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#5278">[ date ]</a>
- <a href="thread.html#5278">[ thread ]</a>
- <a href="subject.html#5278">[ subject ]</a>
- <a href="author.html#5278">[ author ]</a>
- </LI>
- </UL>
- <HR>
-<!--beginarticle-->
-<PRE>><i>Hi, One thing I noticed is that the forceload option could be just added
-</I>><i>into the main code rather then an option. If services sees corruption in
-</I>><i>the databases it could just automatically load what ever it can understand
-</I>><i>and ignore the rest of the database. This would also help when restarting
-</I>><i>ircservices as if no one is at the system or needs to restart ircservices
-</I>><i>it could take care of the databases itself rather then needing to login to
-</I>><i>the system and run a binary. I could see this useful for ircops who don't
-</I>><i>normally have access directly to the system where ircservices is running
-</I>><i>but if they saw a need to restart ircservices they could do so with out
-</I>><i>needing to contact the admin of the server if a database would not load
-</I>><i>and services would not start.
-</I>
- The problem with this (and the reason -forceload is not the default
-in the first place) is that if some part of the database is corrupt,
-there's no telling how bad the situation is. In the worst case, Services
-could be unable to load any data, then overwrite your database files with
-empty databases, destroying any chance you had of retrieving the data via
-other means (such as writing a program to extract the data).
-
- In any case, -forceload is only supported for the database/version4
-module, and there only for certain databases (a corrupt oper.db, for
-example, will cause Services to abort whether -forceload is given or not).
-Moreover, due to the format of those database files, it's unlikely you'd
-be able to recover any data anyway under most circumstances. I probably
-ought to just get rid of the option entirely.
-
- --Andrew Church
- <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
- <A HREF="http://achurch.org/">http://achurch.org/</A>
-</PRE>
-
-
-
-<!--endarticle-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="005277.html">[IRCServices] forceload option automatically runs
-</A></li>
- <LI>Next message: <A HREF="005281.html">[IRCServices] forceload option automatically runs
-</A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#5278">[ date ]</a>
- <a href="thread.html#5278">[ thread ]</a>
- <a href="subject.html#5278">[ subject ]</a>
- <a href="author.html#5278">[ author ]</a>
- </LI>
- </UL>
-
-</body></html>