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=-3.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id AEF231F570 for ; Tue, 4 Jun 2024 17:34:07 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b=Axmufe3+; dkim-atps=neutral DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net DEC3A47C68 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1717522445; bh=TA9WORdRKIH+vZYrwMlTzy0SrRMQNvotUjHxfBumrMk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Axmufe3+6Zz30pU7Q5nm+Sxq1vS2cAE3WxaBZiWXaX5232CTC5jl0TktPqvXcZ5MZ R6AURL2o/GbAY5n44RLMqm0HvoGNg4j2YmEPnX4l7CL4gjArVbcGdXHf0d1qTQt/HE 94QUbfa+EcZVIlop6JdMYQN6Tis63W4PDQcvNSOLXKcEqGISxU02d+o53kDIb6mECD ax5gcYCpJ5z82XjUppElBWUqbPCsuVnZOdI4MPYi9HhxpsLUFsBo9W7evKonLt88E/ j0yuf+PO111vqJyomiC0JZ+ULDenJRHdgU8GXYp2IVW3cHOjtNbNt9zpYvQs8tbsWP 0WmvxRGJsOSIw== Received: from localhost (unknown [IPv6:2601:280:5e00:625::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id DEC3A47C68; Tue, 4 Jun 2024 17:34:04 +0000 (UTC) From: Jonathan Corbet To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Switching to extindex In-Reply-To: <20240604172403.M156885@dcvr> References: <87ed9c1ywx.fsf@meer.lwn.net> <20240604170735.M954932@dcvr> <87wmn4zkx4.fsf@meer.lwn.net> <20240604172403.M156885@dcvr> Date: Tue, 04 Jun 2024 11:34:03 -0600 Message-ID: <87sexszk6s.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: Eric Wong writes: > Jonathan Corbet wrote: >> Eric Wong writes: >> >> > Jonathan Corbet wrote: >> >> I"ve run public-inbox-extindex --all and waited a few days; once I >> >> figured out that I also need to have it running with --watch, things >> >> *seem* to be working well. >> >> >> >> My understanding is that I can now get rid of the per-inbox indexing and >> >> get a bunch of disk space back, and I would like to do that. This, >> >> though, is the step that I've not been able to figure out. Which files >> >> can I remove, and how do I tell public-inbox to not recreate them? >> > >> > Yes, you can remove the Xapian shard directories (0, 1, 2, ...) >> > under xap15 and -watch will be able to detect indexlevel=basic >> > on the next SIGHUP or restart. >> >> For reasons lost to history, I'm using public-inbox-mda instead; it >> seems it does not do that detection? No worries, I can tweak the config >> file easily enough. > > -mda does the detection, too, just every time. I haven't used > it much with -extindex but I think it there's tests for it so it works... Interesting...for me it recreates the 0/1/2 directories unless I edit the config file explicitly. Thanks, jon