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 B06691F466 for ; Sun, 2 Feb 2020 06:52:22 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] convert: more fixes and tests Date: Sun, 2 Feb 2020 06:52:13 +0000 Message-Id: <20200202065222.14966-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Nothing major, but SMP systems should be better utilized now that -convert can take advantage of parallel shard indexing in Xapian. The switches for convert are also now documented in the manpage. Eric Wong (9): t/multi-mid.t: extra test for -convert highwater mark v2writable: nproc_shards: subtract 1 from given value v2writable: do not clobber {shards} or {parallel} if unset convert: remove unused variables capturing :from searchidxshard: rely on autoflush instead of ->flush convert: shift @ARGV explicitly convert: fix --no-index switch doc: -convert: document switches v2writable: more ways to detect online CPU count Documentation/public-inbox-convert.pod | 41 ++++++++++++++++- MANIFEST | 1 + lib/PublicInbox/SearchIdxShard.pm | 4 +- lib/PublicInbox/V2Writable.pm | 38 +++++++++++----- script/public-inbox-convert | 16 ++----- t/convert-compact.t | 3 ++ t/multi-mid.t | 61 ++++++++++++++++++++++++++ t/xcpdb-reshard.t | 2 +- 8 files changed, 137 insertions(+), 29 deletions(-) create mode 100644 t/multi-mid.t