From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 777911F47A for ; Wed, 14 Aug 2024 00:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1723594605; bh=VZup0N8XCe8+cLChdGEsPT9Ty8qi0o1A3Flk7l7Xc7Q=; h=From:To:Subject:Date:From; b=xhuTfs1ZZU/kHGxn/kzouY7dmWx/TPsVYKbwtqXX8/nXHH4ag4J0eDZjyPCFpS5b0 0kWiwn427UYVomOWDaG4DHgc0Obb5NH2JKgiLTE/W3uzDAl5bPPjSwhanWX8+OQKXk lv/Yvfdsp8AzgBRxYdUZXs+vFQ2XKzmMM4eyjSxk= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei import-related fixes + diagnostics Date: Wed, 14 Aug 2024 00:16:40 +0000 Message-Id: <20240814001645.395576-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I've noticed `lei import' on IMAP inboxes occasionally failing for me due to {idx_shards} not getting recreated after 4ff8e8d21ab5 (lei/store: stop shard workers + cat-file on idle, 2024-04-16). 4ff8e8d21ab5 can probably be improved upon, too, and I don't want to revert it since I want to lower memory use for idle lei daemons. 1, 2, 4, and 5 are improvements regardless. 4 is especially important since it helps with recovery due to this bug I'm chasing. Eric Wong (5): git: rename `_active' sub to `cat_active' lei_store: use autodie for open+close v2writable: confess on broken {idx_shards} lei_search: make missing Xapian docs for kw lookups net_reader: improve IMAP error reporting lib/PublicInbox/Git.pm | 6 +++--- lib/PublicInbox/LeiSearch.pm | 10 +++++++++- lib/PublicInbox/LeiStore.pm | 11 ++++++----- lib/PublicInbox/NetReader.pm | 6 ++++-- lib/PublicInbox/V2Writable.pm | 3 +++ 5 files changed, 25 insertions(+), 11 deletions(-)