🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50644

cloning an INN server

#50644
From: David Eckhardt
Date: Thu, 15 Feb 2001 21:51
36 lines
2584 bytes
I want to clone an INN server.  That is, I want a second server
with the same articles numbered the same way.  I understand that
xrefslave does most of what I want, but I am concerned about a
corner case.

Some of the articles on the old server were posted many years ago
to groups that we never expire.  A few of those articles were also
crossposted to groups with much shorter expiration times.  My old
server used the traditional spool format for everything, and I
expect the new one to use it for our local hierarchies (i.e., both
newsgroups in question).

From looking at the code, it appears as if one of these articles
arriving at the new server would be indexed into all of the groups
in the Xref:  header.  That is, while the article would appear in
only one group on the old server, it would appear in both groups
on the new server.

If I initialized the new server with a copy of the old server's
active file, this re-creation of expired articles would not affect
anybody.  But if I retired the old server and some catastrophe
required me to rebuild the active file, then the low mark for the
non-eternal newsgroup would go down, causing readers to reset the
group, right?  Since some of our old newsgroups have six-month
expiration times, the window of vulnerability is not really
trivial.

The cleanest approach I can think of would be for the new server
to notice that the incoming article number is under the lowmark
in its (cloned) active file and skip indexing it into that group.
Should I look into doing that, or am I confused about something?

Dave Eckhardt

P.S. Please reply via news rather than mail.
Technical Details
Message-ID: <96hj05$2e8$1@cantaloupe.srv.cs.cmu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!arclight.uoregon.edu!newsfeed.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!davide

Show Full Headers
Complete Article Headers
Message-ID: <96hj05$2e8$1@cantaloupe.srv.cs.cmu.edu>
Subject: cloning an INN server
Date: Thu, 15 Feb 2001 21:51:01 +0000
From: David Eckhardt <davide+receptionist@cs.cmu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!arclight.uoregon.edu!newsfeed.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!davide
Newsgroups: news.software.nntp
Organization: School of Computer Science, Carnegie Mellon
Lines: 35
NNTP-Posting-Host: crabapple.srv.cs.cmu.edu
X-Trace: cantaloupe.srv.cs.cmu.edu 982273861 2504 128.2.206.189 (15 Feb 2001 21:51:01 GMT)
X-Complaints-To: postmaster@cs.cmu.edu
NNTP-Posting-Date: 15 Feb 2001 21:51:01 GMT
Originator: davide@piper.nectar.cs.cmu.edu