πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91297

Re: expireover issue after move to ovsqlite

#91297
From: Jesse Rehmer
Date: Mon, 11 Dec 2023 22:05
55 lines
3032 bytes
On Dec 11, 2023 at 2:50:49β€―PM CST, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,
> 
>>>> $ echo fr.soc.politique | expireover -f - -Z tmp/lowmark
>>>> expireover: can't expire fr.soc.politique
>> 
>> I don't need to expire this group, but found it odd that the error was
>> produced from the daily expireover, but only for this one group.
>> 
>> I can dump the contents with ovsqlite-util and, while I didn't examine all 4+
>> million lines, everything looks normal.
> 
> That's indeed very odd, either a bug or a corruption of some data.
> 
> This error appears when the expire_one() function in
> storage/ovsqlite/ovsqlite.c returns false.
> 
> If you wish and have a bit of time to investigate, is it possible to
> rebuild INN with additional logs at each "return false"?
> For instance, changing:
> 
>      if (!write_request())
>          return false;
> 
> to:
> 
>      if (!write_request()) {
>          syswarn("first write_request failed");
>          return false;
>      }
> 
> and so on...
> There are 20 occurrences.
> 
> In the for loop, you may want to add the processed article number:
> 
>      if (!unpack_now(response, &expires, sizeof expires)) {
>          syswarn("unpack_now expires failed for %lu", artnum);
>          return false;
>      }
> 
> 
> Once the culprit is found, additional investigations will have to be
> done, with again additional more precise logs, so it will take more time.
> Tell me if you want to.
> Also, for the changes of the 20 occurrences, do you want to do that
> yourself or should I send you the modified ovsqlite.c file to your
> e-mail address?

I'm always open to troubleshooting, if you can send the modified file so I
don't accidentally muck it up, I would appreciate it. I will recompile and
provide new output. If it outputs the offending article number I can provide
the contents/output from sm, etc.
Technical Details
Message-ID: <ul8132$123q$1@nnrp.usenet.blueworldhosting.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: <ukqs97$5vq$1@nnrp.usenet.blueworldhosting.com> <ul403j$14p6$1@news.trigofacile.com> <ul5a0b$25t0$1@nnrp.usenet.blueworldhosting.com> <ul7sn9$3k8q$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <ul8132$123q$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: expireover issue after move to ovsqlite
Date: Mon, 11 Dec 2023 22:05:22 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <ukqs97$5vq$1@nnrp.usenet.blueworldhosting.com> <ul403j$14p6$1@news.trigofacile.com> <ul5a0b$25t0$1@nnrp.usenet.blueworldhosting.com> <ul7sn9$3k8q$2@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
Newsgroups: news.software.nntp
Organization: BWH Usenet (https://usenet.blueworldhosting.com)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 11 Dec 2023 22:05:22 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:6rMNESH77BkgYK0VxzC4r1d4/To= sha256:vBAEsWgkB9m4wLo+xcgDcjlB+ZcdIgmALAQNOCkP448=
X-Usenapp: v1.27.2/d - Full License