Article View: news.software.nntp
Article #88281Re: Wrong output for XPAT command
From: Julien ÉLIE
Date: Sun, 29 Mar 2020 13:34
Date: Sun, 29 Mar 2020 13:34
70 lines
3164 bytes
3164 bytes
Hi Paolo, > After tree days spent trying to understand why some of my scripts run into > some strange errors i've probably found an INN bug. > With INN 2.5.4 *and* 2.6 INN, when a message is posted, XPAT database is > *not* updated with data about new messages sent by the client until it > doesn't close the connection used to post articles In fact, until you re-enter the group. I've just tested your scenario, and I confirm the bug. Thanks for having spotted it! HDR and OVER are also affected. When giving a range to these commands, INN searches in article numbers below its cached high watermark for the selected newsgroup. When posting, it does not update this cached high watermark. Re-entering the newsgoup enters it. I bet we should add an update to this high watermark after posting. I'll have a look. POST 340 Ok, recommended message-ID <r5q7bg$evo$3@news.trigofacile.com> Newsgroups: trigofacile.test From: a@b.c Subject: Test 2 xpat . 240 Article received <r5q7bg$evo$3@news.trigofacile.com> POST 340 Ok, recommended message-ID <r5q7c1$evo$4@news.trigofacile.com> References: <r5q7bg$evo$3@news.trigofacile.com> Newsgroups: trigofacile.test From: a@b.c Subject: Re: Test 2 xpat2 . 240 Article received <r5q7c1$evo$4@news.trigofacile.com> XPAT References 1- <r5q7bg$evo$3@news.trigofacile.com> 221 Header or metadata information for References follows (from overview) . XPAT References 580- * 221 Header or metadata information for References follows (from overview) 580 581 <r5q765$evo$1@news.trigofacile.com> . GROUP trigofacile.test 211 505 7 583 trigofacile.test XPAT References 580- * 221 Header or metadata information for References follows (from overview) 580 581 <r5q765$evo$1@news.trigofacile.com> 582 583 <r5q7bg$evo$3@news.trigofacile.com> . -- Julien ÉLIE « Pourquoi apprendre à calculer la surface d'un losange ? Au cours de ma vie, je n'ai jamais compté aucun losange parmi mes relations. » (Jacques Sternberg)
Technical Details
Message-ID:
<r5q84j$g1p$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-mailReferences:
<r5q5on$5ej$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <r5q84j$g1p$1@news.trigofacile.com> Subject: Re: Wrong output for XPAT command Date: Sun, 29 Mar 2020 15:34:11 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <r5q5on$5ej$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: Sun, 29 Mar 2020 13:34:12 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a775005405b2b77b8ba7ef.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:5405:b2b7:7b8b:a7ef"; logging-data="16441"; 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: <r5q5on$5ej$1@gioia.aioe.org> Content-Language: fr