🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Chuch Thu, 02 Sep 1999 00:00
Regarding message numbering
#39586
Author: Chuch
Date: Thu, 02 Sep 1999 00:00
27 lines
1660 bytes
Hello all,

I am not sure whether this is the place to post this 
question, but here goes:

When a news server (DNews in my case) tells a client which 
messages it has (via a response to a GROUP command), it 
gives a low value and a high value, so all I have to do is 
request all messageIDs that are '>' the greatest ID I have 
and yet '<=' the high value.

My problem arises when the server renumbers the messageIDs 
that it has to avoid overflow.  I need to find out what the 
algorithm is for DNews renumbering so that I do not lose 
all of those messages.  Can anyone point me in the right 
direction?

Regards,

Gunnar Einarsson
puny@earthling.net (forwarding address)

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Re: Regarding message numbering
#39592
Author: Curt Welch
Date: Thu, 02 Sep 1999 00:00
36 lines
2202 bytes
Chuch <puny@earthling.net> wrote:
> Hello all,
>
> I am not sure whether this is the place to post this
> question, but here goes:
>
> When a news server (DNews in my case) tells a client which
> messages it has (via a response to a GROUP command), it
> gives a low value and a high value, so all I have to do is
> request all messageIDs that are '>' the greatest ID I have
> and yet '<=' the high value.
>
> My problem arises when the server renumbers the messageIDs
> that it has to avoid overflow.  I need to find out what the
> algorithm is for DNews renumbering so that I do not lose
> all of those messages.  Can anyone point me in the right
> direction?

News servers in general will never renumber.  The numbers
just keep going higher.  And, BTW, they are not called MeessageIDs.

The numbers can jump if the admin does something wrong to make it
renumber like installing a new server to replace the old (and
not doing something to make the numbers stay in sync).  But
this is seldom done because it causes problems for the users.

Your newsreader however needs to deal with the problem -- i.e. if
the high water marks jumps from 200000 one day back to 2 the next,
then it shouldn't for example assuming everything up to article 200000
is read.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Regarding message numbering
#39595
Author: Chuch
Date: Thu, 02 Sep 1999 00:00
13 lines
1267 bytes
Thanks for your comments.  Perhaps there is no renumbering 
algorithm but that doesn't sound plausible.  I'll ping the 
DNews support directly and see what they say.

Regards,

Gunnar Einarsson

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Re: Regarding message numbering
#39619
Author: Brad Knowles
Date: Fri, 03 Sep 1999 00:00
18 lines
1615 bytes
In article <15f5621a.7ba0d6ce@usw-ex0102-010.remarq.com>, Chuch
<puny@earthling.net> wrote:

> Thanks for your comments.  Perhaps there is no renumbering 
> algorithm but that doesn't sound plausible.  I'll ping the 
> DNews support directly and see what they say.

    Occasionally there is renumbering, but the article numbers have been
generated in such a way that they shouldn't roll over (even in the most
heavily trafficked newsgroups) for dozens upon dozens of years.  If there
is a article number rollover happening more frequently than that, then
there's something far more serious going on.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads