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=-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 4D6141F4B4 for ; Fri, 29 Jan 2021 07:43:00 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] lei: more half-baked updates Date: Fri, 29 Jan 2021 12:42:53 +0500 Message-Id: <20210129074300.14475-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I'm not sure if I want to keep 1/7. 4/7 is LONG overdue Still chasing down difficult-to-reproduce lei2mail workers segfaults which seem related to LeiDedupe + SharedKV and weird object lifetimes; which is preventing me from doing anything else. Worst case is we disable worker processes, but the performance hit sucks. Eric Wong (7): ipc: wq: support passing fields to workers lei_xsearch: drop repeated "Xapian" in error message ipc: more consistent behavior between worker types lei: less error-prone FD mapping git: synchronous cat_file may return type and OID ipc: move on_destroy scope to inside the eval shared_kv: simplify PID+object guard for cleanup lib/PublicInbox/Git.pm | 9 ++--- lib/PublicInbox/IPC.pm | 46 +++++++++++++--------- lib/PublicInbox/LEI.pm | 56 ++++++++++++++++++++------- lib/PublicInbox/LeiOverview.pm | 9 ++--- lib/PublicInbox/LeiToMail.pm | 8 +--- lib/PublicInbox/LeiXSearch.pm | 70 +++++++++++++++------------------- lib/PublicInbox/SharedKV.pm | 8 ++-- lib/PublicInbox/Spawn.pm | 2 +- t/git.t | 8 ++-- t/shared_kv.t | 2 +- 10 files changed, 119 insertions(+), 99 deletions(-)