Re: [PATCH RFC?] Compactification support
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 21 Aug 2012 14:48:50 +0000 (10:48 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:10 +0000 (09:49 -0800)
7e/bda4dd5b1a8aab1784a8e59b2482c89ec8b6fb [new file with mode: 0644]

diff --git a/7e/bda4dd5b1a8aab1784a8e59b2482c89ec8b6fb b/7e/bda4dd5b1a8aab1784a8e59b2482c89ec8b6fb
new file mode 100644 (file)
index 0000000..35dca39
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <bgamari.foss@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 392E2431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 07:48:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id zxMX0fLwyQXC for <notmuch@notmuchmail.org>;\r
+       Tue, 21 Aug 2012 07:48:55 -0700 (PDT)\r
+Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com\r
+       [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9E129431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 07:48:55 -0700 (PDT)\r
+Received: by vcbfl17 with SMTP id fl17so6835704vcb.26\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 07:48:53 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+       :mime-version:content-type;\r
+       bh=16D5jEGDZnkmDatLRqRwuLT4ZEYTordUUvhh1KmHeFw=;\r
+       b=UAfPPX12Hb36Auf3B3V07on1Wl9aEBaYoOELp8SX//UL39zGDYwcrreE41KBiiHjkQ\r
+       WfNTJeuNy2laxcHto8OmT/B6IBIPvcg/P56nYK554mPDEc+M2STcQSkx1KxCXE9cRCr0\r
+       QxOJZ8c7xWJC//TgOxVoLdoaemBEmeMIYoYnwmWD1aCD/8iUnWrJuoOgz+mHugck7PKN\r
+       U/Zp+Q+rZ0R/CDQQdMkutTXttOgXpNFAL56K+aIAITfVUdAB3pUjSt86+eMhYzVVi3dD\r
+       V09Wo+o029WufIqm2PUrjnjI9J7nKrejaSAMyZwsTDgyBW1I9Tl4VJEkDtGJ5v7Lz4Gr\r
+       MRnA==\r
+Received: by 10.220.149.131 with SMTP id t3mr6484942vcv.1.1345560533653;\r
+       Tue, 21 Aug 2012 07:48:53 -0700 (PDT)\r
+Received: from localhost (pool-108-8-230-85.spfdma.east.verizon.net.\r
+       [108.8.230.85])\r
+       by mx.google.com with ESMTPS id v9sm673369ves.8.2012.08.21.07.48.52\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 21 Aug 2012 07:48:52 -0700 (PDT)\r
+From: Ben Gamari <bgamari.foss@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH RFC?] Compactification support\r
+In-Reply-To: <87boi41xdu.fsf@nikula.org>\r
+References: <1345476704-17091-1-git-send-email-bgamari.foss@gmail.com>\r
+       <87boi41xdu.fsf@nikula.org>\r
+User-Agent: Notmuch/0.13.2+137~g3dc1094 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 21 Aug 2012 10:48:50 -0400\r
+Message-ID: <87zk5oz4fh.fsf@gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 21 Aug 2012 14:48:56 -0000\r
+\r
+Jani Nikula <jani@nikula.org> writes:\r
+\r
+> On Mon, 20 Aug 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
+>> Here is a small patchset adding support for database compaction when\r
+>> supported by Xapian. Here I add a function which both compacts and\r
+>> closes the database.\r
+>\r
+> What are the benefits of this compared to xapian-compact [1]?\r
+>\r
+I think it's a bit of a shame you are currently forced to interact with\r
+Xapian directly (an implementation detail) to compact the database. This\r
+set seeks to abstract this out. This is especially important since it's\r
+not too difficult to get the invocation of xapian-compact wrong\r
+(e.g. forget --no-renumber).\r
+\r
+Also, in the past Carl (id:"87ocl1lut1.fsf@yoom.home.cworth.org") has\r
+mentioned it would be nice if compact would be run after the initial run\r
+of "notmuch new". This patchset sets the groundwork to enable this.\r
+\r
+Cheers,\r
+\r
+- Ben\r
+\r