sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] SKS eating dbs?


From: Jason Harris
Subject: [Sks-devel] SKS eating dbs?
Date: Fri, 20 May 2005 18:12:34 -0400
User-agent: Mutt/1.4.2.1i

Has anyone else had problems with SKS eating its dbs, esp. when not
given sufficient time for a proper shutdown?  If so, let me know if
the following patch helps:

--- orig/dbserver.ml
+++ mod/dbserver.ml
@@ -678,10 +678,10 @@
       ~finally:(fun () -> 
                  set_catch_break false;
                  plerror 0 "Shutting down database"; 
-                 Keydb.sync ();
-                 plerror 0 "Database sync'd"; 
                  Keydb.unconditional_checkpoint ();
                  plerror 0 "Database checkpointed"; 
+                 Keydb.sync ();
+                 plerror 0 "Database sync'd"; 
                  Keydb.close_dbs ();
                  plerror 0 "Database closed"
               )

-- 
Jason Harris           |  NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
address@hidden _|_ web:  http://keyserver.kjsl.com/~jharris/
          Got photons?   (TM), (C) 2004

Attachment: pgpq3zdUa9JdC.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]