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 C75BB1F462 for ; Wed, 29 May 2019 08:29:00 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/10] index: support progress output Date: Wed, 29 May 2019 08:28:50 +0000 Message-Id: <20190529082900.9312-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: While progress support was implemented for -xcpdb, there was no way to enable it for the -index command; and v2 progress was lacking compared to v1. This series fills in those functionality gaps and cleans up some of the v2 indexing code at the same time. Eric Wong (10): v2writable: introduce $sync state and put mm_tmp in it v2writable: sync: move delete markers into $sync state v2writable: move {reindex} field to $sync state v2writable: move {regen} into $sync state v2writable: move {ranges} into $sync state v2writable: localize unindex-range.$EPOCH to $sync state v2writable: use prototypes for internal subs v2writable: move index_sync options to sync state index: support --verbose option v2writable: show progress updates for index_sync lib/PublicInbox/Admin.pm | 18 ++++ lib/PublicInbox/V2Writable.pm | 178 +++++++++++++++++++--------------- lib/PublicInbox/Xapcmd.pm | 14 +-- script/public-inbox-index | 5 +- 4 files changed, 124 insertions(+), 91 deletions(-) -- EW