🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80229

Low water mark of an empty newsgroup

#80229
From: Julien ÉLIE
Date: Thu, 05 Mar 2009 19:30
60 lines
3465 bytes
Hi,

Simple question:  I have a newsgroup with one article.  Its number is 12.
low water mark = high water mark = 12.

I cancel the article.  What are the low/high water mark which SHOULD be given?
My guess is low = 13 and high = 12.  Is it right?
Because the following article will be the 13th.

Or low = 12 and high = 11?

I ask because I am unsure and I do not manage to find an authoritative
answer in RFC 3977.


RFC 3977 about an empty newsgroup:

   o  The high water mark will be one less than the low water mark, and
      the estimated article count will be zero.  Servers SHOULD use this
      method to show an empty group.  This is the only time that the
      high water mark can be less than the low water mark.

[...]

   The successful selection response will return the article numbers of
   the first and last articles in the group at the moment of selection
   (these numbers are referred to as the "reported low water mark" and
   the "reported high water mark") and an estimate of the number of
   articles in the group currently available.

[...]

   Except when the group is empty and all three numbers are zero,
   whenever a subsequent GROUP command for the same newsgroup is issued,
   either by the same client or a different client, the reported low
   water mark in the response MUST be no less than that in any previous
   response for that newsgroup in this session, and it SHOULD be no less
   than that in any previous response for that newsgroup ever sent to
   any client.  Any failure to meet the latter condition SHOULD be
   transient only.  The client may make use of the low water mark to
   remove all remembered information about articles with lower numbers,
   as these will never recur.  This includes the situation when the high
   water mark is one less than the low water mark.

[...]

   Note that a previously valid article number MAY become invalid if the
   article has been removed.  A previously invalid article number MAY
   become valid if the article has been reinstated, but this article
   number MUST be no less than the reported low water mark for that
   group.


Thanks,

-- 
Julien ÉLIE

« Sol lucet omnibus. » 
Technical Details
Message-ID: <gop99v$9ji$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!weretis.net!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gop99v$9ji$1@news.trigofacile.com>
Subject: Low water mark of an empty newsgroup
Date: Thu, 5 Mar 2009 20:30:13 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!weretis.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 60
NNTP-Posting-Host: aaubervilliers-151-1-29-41.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1236281471 9842 83.112.20.41 (5 Mar 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Thu, 5 Mar 2009 19:31:11 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Original-Bytes: 3279