Article View: news.software.nntp
Article #92749Re: High and low water marks vs active file
From: Julien ÉLIE
Date: Mon, 04 May 2026 23:00
Date: Mon, 04 May 2026 23:00
66 lines
4267 bytes
4267 bytes
Hi InterLinked,
> Actually, that reminds me what it was about the
> erratum I didn't understand - a comment about server synchronization and
> how the low water mark a client reads might decrease in this scenario.
> Is anyone able to explain how that might happen?
Looking at the erratum:
"The high water mark is one less than the low water mark for empty
newsgroups. A major reason for doing it this way was to deal with
clusters of servers. If they're not perfectly synchronized, then
a cancel might be visible on one and not another. So if you connect
to the second one, it looks as if the article has been reinstated.
Wording it like this meant we didn't need special treatment of such
clusters. The low water mark cannot decrease."
If a newsgroup has only article number 12, and this article is cancelled
in cluster A a few seconds before it is in cluster B, a newsreader
connecting to cluster A will see low water mark = 13, high water mark =
12 (empty newsgroup with low = high + 1) and if it disconnects and
reconnects this time associated to cluster B before the cancel is
executed, it will see low water mark = high water mark = 12, thus having
decreased.
When the high = low - 1 formula is used, it sees low water mark = 12 and
high water mark = 11 on cluster A. The low water mark does not decrease.
Anyway, I agree that the problem is present in non-empty newsgroups if
the low water mark is updated on the fly. If cluster A has article 13,
and cluster B has articles 12 and 13, the low water mark will be
inferior when connecting to cluster B...
> I guess INN explicitly wants to make empty groups low=1/high=0 instead
> of low=0/high=0.
Because low=1/high=0 is the preferred way per RFC 3977, mentioned as a
SHOULD.
> Not expecting INN to change, of course, but I think I might do it this
> way, as I would like to be as accurate as possible and provide as much
> "information" as possible in a response.
You could do that if you prefer. Feel free :)
> I'm a bit confused on this last point. It's valid to merely set
> low=high=2^31-1 to indicate a group is empty?
> Is this by chance somehow the 3rd case in RFC 3977 6.1.1.2 for methods
> of representing an empty group?
Yes, it is the third alternative allowed by RFC 3977, and I totally
agree it follows the same rule as a non-empty newsgroup. Very liberal :)
o The high water mark is greater than or equal to the low water
mark. The estimated article count might be zero or non-zero; if
it is non-zero, the same requirements apply as for a non-empty
group.
--
Julien ÉLIE
« Le café est un breuvage qui fait dormir quand on n'en prend pas. »
(Alphonse Allais)
Technical Details
Message-ID:
<10tb8f3$2bu8u$2@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-mailReferences:
<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> <10tb0v0$2bu8u$1@news.trigofacile.com> <10tb6lg$110d$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: Tue, 5 May 2026 01:00:51 +0200 Organization: Groupes francophones par TrigoFACILE Message-ID: <10tb8f3$2bu8u$2@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> <10tb0v0$2bu8u$1@news.trigofacile.com> <10tb6lg$110d$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 23:00:51 -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:6jsN7uISHYklmrsFJ8HeVJcqnn8= sha256:8aucemB2JqeXqCtEyIdYcKXf5AwvZcT2OQBNk+aOglo= sha1:NvPGrKYa8Nr/XBMwF4maC4Fb3YI= sha256:Ba11HhLb7rUNS/YW+93zcVICL5cTHN7+c3JJ0lI1zUg= In-Reply-To: <10tb6lg$110d$1@dont-email.me>