sks-devel
[Top][All Lists]
Advanced

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

[Sks-devel] [PATCH] auto-refresh membership DNS


From: Phil Pennock
Subject: [Sks-devel] [PATCH] auto-refresh membership DNS
Date: Sun, 22 Mar 2009 04:59:19 -0700

Each of the attached compiles, which means more than it does in some
other languages.  I'm fairly confident I haven't messed up.  But there's
two approaches.

Previously, membership was only automatically reloaded in the db server,
not the recon server.

Patch sks-mshp-timed.patch makes membership reload independent of
whether or not the server's eventloop does anything special, so this
sort of oversight can't happen.  It's more intrusive, because it changes
how membership is stored.

Patch sks-mshp-timed2.patch is much simpler and just adds an event
handler to reconserver.ml, similar to that in dbserver.ml.

There are pros and cons to each.

Separately, I believe that the mailsync file was getting reloaded rather
often, if the mtime differed from that of the membership file, because
the wrong file's mtime was checked.  Both patches fix that.

Regards,
-Phil

Attachment: sks-mshp-timed.patch
Description: Text Data

Attachment: sks-mshp-timed2.patch
Description: Text Data

Attachment: pgpLtZS47gdYT.pgp
Description: PGP signature


reply via email to

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