From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 34BC41F462; Tue, 11 Jun 2019 18:43:49 +0000 (UTC) Date: Tue, 11 Jun 2019 18:43:49 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: [WIP] v2writable: support INBOX_DEBUG=replace Message-ID: <20190611184349.GA13551@dcvr> References: <20190609025147.24966-1-e@80x24.org> <20190610150647.GA16418@chatter.i7.local> <20190610154058.jqaawkktvb5u2itj@dcvr> <20190610185730.GC16418@chatter.i7.local> <20190610192905.55xb737jl7qnbh23@dcvr> <20190610194039.GD16418@chatter.i7.local> <20190610220320.nssvqjseswo2ujl2@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190610220320.nssvqjseswo2ujl2@dcvr> List-Id: Eric Wong wrote: > Konstantin Ryabitsev wrote: > > On Mon, Jun 10, 2019 at 07:29:05PM +0000, Eric Wong wrote: > > > > I did a few successful tests on small trial lists, but I'm running > > > > into a > > > > problem when I try to actually edit something in (a copy of) LKML: > > > > > > > > $ perl5lib/bin/public-inbox-edit -m messageid /mnt/fastio/lkml > > > > (mutt opens here) > > > > 1 kept, 0 deleted. > > > > Exception: Expected block 102325 to be level 2, not 0 > > > > > > That's an exception from Xapian I haven't seen that in years. > > > Which version of Xapian and are you using chert or glass? > > > > EL7 has 1.2.25. Also, is that the Search::Xapian version or the xapian-core-libs/libxapianXX version? It's OK if they mismatch, Search::Xapian (XS bindings) can work with libxapianXX for 1.4.x, even. Mainly it's the libxapianXX version which matters. > Oh, I just realized that doesn't use OFD locks at all because > its Linux 3.10 and OFD locks appeared in 3.15 (unless RH backported). Yes, it appears RH backported OFD locks to 3.10; so more variables to consider... Just wondering, do t/edit.t and t/replace.t tests pass for you?