From: Amadeusz Żołnowski Date: Mon, 24 Aug 2015 22:14:08 +0000 (+0100) Subject: Re: muchsync files renames X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=165f7d228104fc258ffb51e0a003dc30046ecac7;p=notmuch-archives.git Re: muchsync files renames --- diff --git a/7e/1a04d28e7ea3d41cd284217e0a6b2d4b77b23f b/7e/1a04d28e7ea3d41cd284217e0a6b2d4b77b23f new file mode 100644 index 000000000..0e0046536 --- /dev/null +++ b/7e/1a04d28e7ea3d41cd284217e0a6b2d4b77b23f @@ -0,0 +1,111 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id C303E6DE137E + for ; Mon, 24 Aug 2015 15:14:21 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.004 +X-Spam-Level: +X-Spam-Status: No, score=-0.004 tagged_above=-999 required=5 tests=[AWL=0.097, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 8fBzxIKDrUfe for ; + Mon, 24 Aug 2015 15:14:19 -0700 (PDT) +Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122]) + by arlo.cworth.org (Postfix) with ESMTPS id 595516DE12F3 + for ; Mon, 24 Aug 2015 15:14:18 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; + d=aidecoe.name; s=jim; + h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=xQfe15nMAxU+prJ4Qb2XnlWzMeDUsmk74PbVr74Skjk=; + b=KzjCf/y8leuIUV3ASgK91Qe26Vdrh/86AsjIXMV5zRmTdwlwjsbS5VILt5tIRfzU5SrjHOqr36VpqXnccNXdKyqK76iQVy3DjGrqie/icv8bL10Osj3R/0tFt3PfoSkedMM3nZrnTqt2IX9UEp6xiRjjI8ugFcFGt3j8WIfzGHoDmCSMG2o1bq/90Ppe6OkjlbnOEdDkxZg6CFCrhEL4HtI9fRLNxxeuFUgoocK16cPWUuhoz1T5oTxtkSG5or5NzUB5lFuaRwjrd8K6OqnhjD/EL8vOwqYTvvxPl5BwJ1LqpIaE3lTDWxy86L34Wc8voTRItfA1l1Fhz9YJ2rvsAg==; +Received: from cpc3-cmbg17-2-0-cust294.5-4.cable.virginm.net ([86.22.65.39] + helo=localhost) + by jim.zolnowski.name with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) + (Exim 4.85) (envelope-from ) + id 1ZU00M-0004U9-As; Tue, 25 Aug 2015 00:14:14 +0200 +From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= +To: David Mazieres expires 2015-11-21 PST + +Subject: Re: muchsync files renames +In-Reply-To: <87lhd1ohvq.fsf@ta.scs.stanford.edu> +References: <878u93ujdo.fsf@freja.aidecoe.name> + <876146o920.fsf@ta.scs.stanford.edu> <871teu8kdd.fsf@freja.aidecoe.name> + <87oahxojlv.fsf@ta.scs.stanford.edu> <87lhd1ohvq.fsf@ta.scs.stanford.edu> +User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Mon, 24 Aug 2015 23:14:08 +0100 +Message-ID: <87si7849n3.fsf@freja.aidecoe.name> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha512; protocol="application/pgp-signature" +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 24 Aug 2015 22:14:21 -0000 + +--=-=-= +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +David Mazieres writes: +> Initially, when you run "muchsync --init", it copies all the files to +> your maildir, and for each file invokes +> notmuch_message_tags_to_maildir_flag. That changes the name of the +> file, with the result that the sql database and the actual mail +> directory end up out of sync. That on it's own is not a big deal, but +> it means that the next time muchsync, muchsync will have to rescan all +> of the files, as their names are no longer correct. That shouldn't +> cause any extra traffic between the two machines, but it will require +> time on the client. That is likely the source of the delay you were +> seeing. + +Yes, that seems to be probable scenario. + +> However, if you C-c the client during this process, I still don't see +> any problems arising that cause more links to be transferred between +> machines. So I'm kind of stumped about that part. + +I don't think that C-c caused more links transfers. It's just about that +on rerun (after C-c) the notmuch on server reported renames which +probably took place in the previous run. + +=2D-=20 +Amadeusz =C5=BBo=C5=82nowski + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.1 + +iQJ8BAEBCgBmBQJV25cwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD +QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEcRMQAL3qkmM6WYbTvCH2Mbe+s8P1 +dRMNi/1GJK9WdB/+xGPHazcnT+Lq3oZ03JpnkWWwwtJtFxlBT7cRE/n7dHyIVhVY +0+LzAyRNrq7w2ff7arwdZPHkEJMs16kZe57VPTCbzPrg8yv2DPBpYkLaa0tSc6n8 +G7j8K3c3ytSLue75XERVNxbvfx4M/mMrEtXIy7zQGmki5TUQ5ap4ZxMCehcZmykJ +eQojtJk07AWqOGRmTLAHjY+Jaagvk0y1yvnkc+A30/+eCma8JXFV3bFyD77m6aPp +km9q3Ot/XSrfJkFIpwojaN+sn9iM8/3oZ8IVPhGvNSNdG10/1TdDahyXtcMOnaXw +YPuPGuvsb2/CXXiW7rDOD/jB7WCo+yFNssyjID335MXcChyEppVVbhVzJAYwXWEg +cMnlVyXV1sazXBICkSnC96ao2H8WlOpHjLjJr9i7KnTMjao4WxtR3N0G+z9hl6lx +kBsJ90VkMydFjbfh+buXbka+2PhOPSGPJqQGof3dLXE16bRQz1kQIcbWZNxc4Sir +xkZpVp0Ji9zoF+Gu/V/XBocYSwaU9d8NkbONXqsuT4boEOac+hjmgnyMUKUQCU/u +aNKRWCfsHy+JuWS2sWWFU764bIHukk73MGf4R5hZcQAbDadDxiWVtBwsAdLZWVUl +uerFkxyn5+zDTswf4nc3 +=hMWO +-----END PGP SIGNATURE----- +--=-=-=--