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,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 BB75B1F461; Tue, 14 May 2019 02:04:43 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Cc: "Eric W. Biederman" Subject: [PATCH 0/3] incremental index fixes for indexlevel=basic Date: Tue, 14 May 2019 02:04:40 +0000 Message-Id: <20190514020443.7200-1-e@80x24.org> In-Reply-To: <20180802034404.cnvfqlgvynamnc6n@whir> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Resurrecting an old issue from last year I completely forgot about :x Thanks to Eric Biederman for the cleanup to 3/3 to simplify the v1 indexing logic. The first two are prepatory patches which make tests easier-to-write; and I have plans to cleanup and cull redundancies in tests because they take too long. Eric Wong (3): v1writable: new wrapper which is closer to v2writable v2writable: allow setting nproc via creat options searchidx: fix incremental index with indexlevel=basic on v1 MANIFEST | 2 + lib/PublicInbox/Import.pm | 15 +++- lib/PublicInbox/OverIdx.pm | 9 ++- lib/PublicInbox/SearchIdx.pm | 68 +++++++++++------- lib/PublicInbox/V1Writable.pm | 34 +++++++++ lib/PublicInbox/V2Writable.pm | 19 ++++-- script/public-inbox-index | 3 +- script/public-inbox-init | 23 +++---- t/indexlevels-mirror.t | 125 ++++++++++++++++++++++++++++++++++ t/purge.t | 3 +- t/v2reindex.t | 3 +- t/v2writable.t | 8 +-- 12 files changed, 252 insertions(+), 60 deletions(-) create mode 100644 lib/PublicInbox/V1Writable.pm create mode 100644 t/indexlevels-mirror.t -- EW