Article View: news.software.readers
Article #266041Re: Bug in SLRN trunk: not seen in 1.0.3.
From: Russ Allbery
Date: Tue, 12 Sep 2023 16:25
Date: Tue, 12 Sep 2023 16:25
52 lines
3469 bytes
3469 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> The high water mark never decreases in the active file as this
> information is used by innd to assign the next unused article number.
The initial number of unread articles is probably based entirely on the
high water mark, but to me the question is why slrn doesn't mark those
articles as read the first time you enter the group and they don't exist.
I am assuming that this is because it sees phantom OVER entries for them,
but then the articles are missing when it goes to retrieve them. This
could indicate, say, an overchan setup where the overview was written
before the article was written, so it is arguably correct to not mark such
articles as read.
If the OVER command also doesn't return any data for those articles,
though, I think slrn really should just mark them as read and move on.
Articles that are both missing and don't have OVER entries probably have
been deleted. (Although I guess this could be wrong if somehow the high
water mark got updated before *either* the article was written or the
overview database was updated. I don't remember if that can happen.)
> Though overview data may be handled differently, I think the same rule
> is also followed, and the expiry process does not decrease high water
> marks in overview data, but only updates low water marks, article counts
> and removes old articles. It is what I have in mind from recent
> investigation in the 4 overview methods when looking at how they handle
> empty newsgroups.
I thought the overview data for the deleted article would be dropped from
the database during nightly expire, so will not appear in the OVER output,
but it's been a while since I looked at it so I could be wrong. In other
words, I think you're correct that the high water marks would not change,
since that's how INN ensures that it never reuses an article number, but
when you run OVER on the group, I believe the entries for those articles
should be missing.
> In order to improve the experience of news clients, wouldn't a
> groupexacthigh parameter in readers.conf be useful in INN? The idea
> would be that nnrpd would give a high water mark corresponding to an
> existing article when responding to GROUP, LISTGROUP, LIST ACTIVE and
> LIST COUNTS.
Yes, that would also solve the problem. It won't avoid the appearance of
three unread articles and then seeing only one unread article the next
time an article arrives that isn't deleted, but I think that's unavoidable
in the protocol.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87v8cfgxyo.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20230911185353.581@kylheku.com>Show Full Headers
Complete Article Headers
Message-ID: <87v8cfgxyo.fsf@hope.eyrie.org> Subject: Re: Bug in SLRN trunk: not seen in 1.0.3. Date: Tue, 12 Sep 2023 09:25:51 -0700 From: Russ Allbery <eagle@eyrie.org> References: <20230911185353.581@kylheku.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp,news.software.readers Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: hope.eyrie.org; User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:5h1P6Lyge3BI7E6ih7wOgk1d4Xk=