Article View: news.software.nntp
Article #92743Re: High and low water marks vs active file
From: Julien ÉLIE
Date: Sun, 03 May 2026 21:49
Date: Sun, 03 May 2026 21:49
45 lines
3198 bytes
3198 bytes
Hi InterLinked,
> To make an extreme example, if a group with a lot of articles had all of
> them except the low water mark article deleted (and "last" is 3000), you
> could have a response like:
>
> 211 3000 1 3000 misc.test
>
> [and the count has to be at least 3000, per the RFC, so we can't even
> have 211 1 1 3000 misc.test to indicate there are definite gaps]
Where do you read in RFC 3977 that the estimate "has to be at least 3000"?
The wording is:
If the group is not empty, the estimate MUST be at least the actual
number of articles available and MUST be no greater than one more
than the difference between the reported low and high water marks.
> That brings me to another observation: I've noticed that most inactive
> newsgroups in INN return high 0 and low 1 (at least for those I've
> analyzed in responses for Usenet groups), which seemed odd to me as I
> would have thought INN would naturally take the <high> in the active
> file, and taking low = <high> and high = low - 1, return something more
> like 211 0 3000 2999 misc.test
> Is there a reason INN just uses 1/0 instead?
I confirm what Russ said: high = low - 1 is what INN replies for empty
newsgroups which formerly received at least one article.
We even had a bug until recently as for versions prior to 2.7.1, INN
returned low = high + 1 which was unfortunately wrong when high was
2^31-1... A pretty rare case though :)
It now returns high = low - 1 except of course when low is 0 (for
newsgroups which have never received any article).
You already spotted that as you referenced the related issue in the
Github tracker :)
--
Julien ÉLIE
« Quand vous avez des ennuis, les gens qui vous appellent par sympathie
le font surtout pour avoir des détails. » (Edgar Watson Howe)
Technical Details
Message-ID:
<10t8fss$2a1vp$4@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:8cb8:3320:5787:4524!not-for-mailReferences:
<10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$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:8cb8:3320:5787:4524!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: Sun, 3 May 2026 23:49:16 +0200 Organization: Groupes francophones par TrigoFACILE Message-ID: <10t8fss$2a1vp$4@news.trigofacile.com> References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 3 May 2026 21:49:16 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:8cb8:3320:5787:4524"; logging-data="2426873"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:lvps2hQIEwf9y20To+3SxAVwJqw= sha256:1gIeIxUWFpNMI4hvWCnU/eG8o4md8fUGV8V29kw3ZHQ= sha1:pX8y2dlEtumlBK30dws7ccVhgtQ= sha256:7/5MForA7TgrH5UoXJjvWnii8dHURCShgMLptqGBo+g= In-Reply-To: <10t12o5$14bjd$1@dont-email.me>