🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88301

Re: Wrong output for GROUP/LISTGROUP commands

#88301
From: Julien ÉLIE
Date: Wed, 01 Apr 2020 22:13
32 lines
2504 bytes
Hi Paolo,

>> INN's strategy is the third one:
> 
> it's clear, now
> thank you

Which does not mean INN cannot enhance its behaviour a little.
In order not to decrease performance and to handle the case of empty 
groups better, what do you think about something like that:
- add an inn.conf parameter like groupexactcount (defaulting to 50)
- if the estimated count known by nnrpd when responding to GROUP or 
LISTGROUP commands is inferior or equal to groupexactcount, then nnrpd 
really counts the exact number of articles still present in the 
newsgroup, and gives that number
- if groupexactcount is set to 0, then nnrpd will always give the 
estimated number (current behaviour)
- if you want nnrpd to always give the exact count, then set 
groupexactcount to the maximum possible article number currently handled 
by nnrpd (2147483647)

When giving the exact count, should exact low watermarks and high 
watermarks also be given?  (or you don't mind if they do not correspond 
to existing articles)

Should the result of LIST COUNTS also use that rule for counting?

-- 
Julien ÉLIE

« La chaîne du mariage est si lourde qu'il faut être deux pour la
   porter, souvent trois. » (Alexandre Dumas)
Technical Details
Message-ID: <r633lq$155$1@news.trigofacile.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
References: <r5se8o$ufl$1@gioia.aioe.org> <r5tbff$niq$1@news.trigofacile.com> <r5tkqe$633$4@gioia.aioe.org> <r5tomm$9sm$1@news.trigofacile.com> <r5v1oe$4s9$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <r633lq$155$1@news.trigofacile.com>
Subject: Re: Wrong output for GROUP/LISTGROUP commands
Date: Thu, 2 Apr 2020 00:13:09 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <r5se8o$ufl$1@gioia.aioe.org> <r5tbff$niq$1@news.trigofacile.com> <r5tkqe$633$4@gioia.aioe.org> <r5tomm$9sm$1@news.trigofacile.com> <r5v1oe$4s9$1@gioia.aioe.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-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 1 Apr 2020 22:13:14 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500cd8b94abd4038427.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:cd8b:94ab:d403:8427"; logging-data="1189"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
In-Reply-To: <r5v1oe$4s9$1@gioia.aioe.org>
Content-Language: en-GB