🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92748

Re: High and low water marks vs active file

#92748
From: Julien ÉLIE
Date: Mon, 04 May 2026 20:52
44 lines
3217 bytes
Hi InterLinked,

>> high = low - 1 is what INN replies for empty 
>> newsgroups which formerly received at least one article.
> 
> Isn't this also true for empty newsgroups which have never received an 
> article either? low=1 and high=0

When the newsgroup has never received an article, I assume the concept 
of "low water mark" does not exist as there hasn't been any first 
article.  But yes, if you consider low=1 in that case, the formula is 
the same.
Maybe the ideal would be to advertise low=0 and high=0 in that case 
(allowed by RFC 3977 to represent an empty newsgroup), which would 
differentiate a newsgroup which has never received any article from 
another one which has received only 1 article and is now empty.
Well, nobody matters but it would make sense :)


> To confirm my own understanding, the only reason we do LOW = LAST (which 
> is the same as LOW = HIGH in INN) and then HIGH = LOW + 1, rather than 
> LOW = HIGH + 1, is to account for overflow when LAST/HIGH is the max 
> article number?

I don't know whether that were the reason for the formula but yes, at 
least it works with the max article number!


> the LOW = HIGH + 1 
> method also has the advantage of being one higher than the other way, 
> which you pointed out in the erratum. I kind of wonder if it would be 
> valid to do it this way, except in the case that HIGH is the max article 
> number

Yes, it is valid.  It respects the rule that "the high water mark will 
be one less than the low water mark", and when HIGH is the max article 
number, you could use LOW = 2^31-1 and HIGH = LOW - 1 (the preferred way 
per RFC 3977, as a SHOULD) or LOW = HIGH = 2^31-1 (an alternative way).

-- 
Julien ÉLIE

« Le bonheur, c'est vouloir ce que l'on a. »
Technical Details
Message-ID: <10tb0v0$2bu8u$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:2de4:dc05:3167:5cf3!not-for-mail
References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$1@dont-email.me> <10t8fss$2a1vp$4@news.trigofacile.com> <10t8hh9$38008$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:2de4:dc05:3167:5cf3!not-for-mail
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Newsgroups: news.software.nntp
Subject: Re: High and low water marks vs active file
Date: Mon, 4 May 2026 22:52:48 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <10tb0v0$2bu8u$1@news.trigofacile.com>
References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org>
 <10t12o5$14bjd$1@dont-email.me> <10t8fss$2a1vp$4@news.trigofacile.com>
 <10t8hh9$38008$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 4 May 2026 20:52:48 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:2de4:dc05:3167:5cf3";
	logging-data="2488606"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ZimP8jGev37Iv6u4QXiVMZTOtQI= sha256:+Vsn4pEK5j0KrNp9ICzqX+Fl5KZeBb8TpjcL6k7Yw5Q=
	sha1:1isyahRBmuFYb8yfD0skUxbQtiM= sha256:xkbLJSV+LUW1APnJorGs6etjn830xxUwbTxriS+Ey8g=
In-Reply-To: <10t8hh9$38008$1@dont-email.me>