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-Status: No, score=-3.8 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 9E23F1F4B4 for ; Wed, 9 Dec 2020 09:25:12 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] extindex: another fix and some cleanups Date: Wed, 9 Dec 2020 09:25:09 +0000 Message-Id: <20201209092512.25282-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 3/3 avoids potential for user-error by enforcing -index before -extindex. And some cleanups found while working on --reindex. --reindex is still running and not OOM-ing, at least... Eric Wong (3): searchidx: all indexers check for bad blobs t/extsearch: use indexlevel=basic in inboxes extsearchidx: enforce -index before -extindex lib/PublicInbox/ExtSearchIdx.pm | 20 +++++------ lib/PublicInbox/SearchIdx.pm | 18 ++++++++-- lib/PublicInbox/V2Writable.pm | 25 +++++++++++--- t/extsearch.t | 60 +++++++++++++++++++++++++++++++-- 4 files changed, 100 insertions(+), 23 deletions(-)