compactor adjustments v2
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 13 Nov 2013 17:02:42 +0000 (19:02 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:16 +0000 (09:58 -0800)
c9/2922c1c1e6964152f9ed5d878cda676bc7011b [new file with mode: 0644]

diff --git a/c9/2922c1c1e6964152f9ed5d878cda676bc7011b b/c9/2922c1c1e6964152f9ed5d878cda676bc7011b
new file mode 100644 (file)
index 0000000..1deebb7
--- /dev/null
@@ -0,0 +1,65 @@
+Return-Path: <too@guru-group.fi>\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 4A3E3429E38\r
+       for <notmuch@notmuchmail.org>; Wed, 13 Nov 2013 09:03:09 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 27Qf7CeJtdkA for <notmuch@notmuchmail.org>;\r
+       Wed, 13 Nov 2013 09:03:03 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id AF265431FD9\r
+       for <notmuch@notmuchmail.org>; Wed, 13 Nov 2013 09:02:57 -0800 (PST)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id DA75110009D; Wed, 13 Nov 2013 19:02:49 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: compactor adjustments v2\r
+Date: Wed, 13 Nov 2013 19:02:42 +0200\r
+Message-Id: <1384362167-12740-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 1.8.0\r
+Cc: tomi.ollila@iki.fi\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: Wed, 13 Nov 2013 17:03:09 -0000\r
+\r
+This is v2 of id:1384192538-15291-1-git-send-email-tomi.ollila@iki.fi \r
+\r
+Changes include: \r
+  tidy formatting (i.e. "uncrustifying") on related code\r
+  catching Xapian::Error (always)\r
+\r
+The tests done in  id:m2fvr1tpkf.fsf@guru.guru-group.fi  were redone\r
+with one extra (*) -- results same. Automatic tests pass.\r
+\r
+(*)\r
+\r
+$ mkdir xapian.compact\r
+$ touch xapian.compact/file\r
+$ chmod 000 xapian.compact\r
+$ notmuch compact \r
+Compacting database...\r
+compacting table postlist\r
+Error while compacting: Couldn't open base /path/to/.notmuch/xapian.compact/postlist.baseA to write: Permission denied\r
+Compaction failed: A Xapian exception occurred\r
+zsh: exit 1     ./notmuch compact\r
+\r
+\r
+\r