]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] forceload option automatically runs | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <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"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="005277.html"> | |
11 | <LINK REL="Next" HREF="005281.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] forceload option automatically runs</H1> | |
15 | <B>Andrew Church</B> | |
16 | <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" | |
17 | TITLE="[IRCServices] forceload option automatically runs">achurch at achurch.org | |
18 | </A><BR> | |
19 | <I>Thu May 17 04:59:07 PDT 2007</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="005277.html">[IRCServices] forceload option automatically runs | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="005281.html">[IRCServices] forceload option automatically runs | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#5278">[ date ]</a> | |
27 | <a href="thread.html#5278">[ thread ]</a> | |
28 | <a href="subject.html#5278">[ subject ]</a> | |
29 | <a href="author.html#5278">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>><i>Hi, One thing I noticed is that the forceload option could be just added | |
35 | </I>><i>into the main code rather then an option. If services sees corruption in | |
36 | </I>><i>the databases it could just automatically load what ever it can understand | |
37 | </I>><i>and ignore the rest of the database. This would also help when restarting | |
38 | </I>><i>ircservices as if no one is at the system or needs to restart ircservices | |
39 | </I>><i>it could take care of the databases itself rather then needing to login to | |
40 | </I>><i>the system and run a binary. I could see this useful for ircops who don't | |
41 | </I>><i>normally have access directly to the system where ircservices is running | |
42 | </I>><i>but if they saw a need to restart ircservices they could do so with out | |
43 | </I>><i>needing to contact the admin of the server if a database would not load | |
44 | </I>><i>and services would not start. | |
45 | </I> | |
46 | The problem with this (and the reason -forceload is not the default | |
47 | in the first place) is that if some part of the database is corrupt, | |
48 | there's no telling how bad the situation is. In the worst case, Services | |
49 | could be unable to load any data, then overwrite your database files with | |
50 | empty databases, destroying any chance you had of retrieving the data via | |
51 | other means (such as writing a program to extract the data). | |
52 | ||
53 | In any case, -forceload is only supported for the database/version4 | |
54 | module, and there only for certain databases (a corrupt oper.db, for | |
55 | example, will cause Services to abort whether -forceload is given or not). | |
56 | Moreover, due to the format of those database files, it's unlikely you'd | |
57 | be able to recover any data anyway under most circumstances. I probably | |
58 | ought to just get rid of the option entirely. | |
59 | ||
60 | --Andrew Church | |
61 | <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A> | |
62 | <A HREF="http://achurch.org/">http://achurch.org/</A> | |
63 | </PRE> | |
64 | ||
65 | ||
66 | ||
67 | <!--endarticle--> | |
68 | <HR> | |
69 | <P><UL> | |
70 | <!--threads--> | |
71 | <LI>Previous message: <A HREF="005277.html">[IRCServices] forceload option automatically runs | |
72 | </A></li> | |
73 | <LI>Next message: <A HREF="005281.html">[IRCServices] forceload option automatically runs | |
74 | </A></li> | |
75 | <LI> <B>Messages sorted by:</B> | |
76 | <a href="date.html#5278">[ date ]</a> | |
77 | <a href="thread.html#5278">[ thread ]</a> | |
78 | <a href="subject.html#5278">[ subject ]</a> | |
79 | <a href="author.html#5278">[ author ]</a> | |
80 | </LI> | |
81 | </UL> | |
82 | ||
83 | </body></html> |