From: Amadeusz Żołnowski Date: Sun, 23 Aug 2015 08:44:14 +0000 (+0100) Subject: Re: muchsync files renames X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77767caa9ef3a2ca32061b8bfb645f9f6e3854cf;p=notmuch-archives.git Re: muchsync files renames --- diff --git a/d4/8c9771f29f185cda87e2b49382b084e7f493c3 b/d4/8c9771f29f185cda87e2b49382b084e7f493c3 new file mode 100644 index 000000000..eb82a2ebe --- /dev/null +++ b/d4/8c9771f29f185cda87e2b49382b084e7f493c3 @@ -0,0 +1,117 @@ +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 AE6596DE1B1D + for ; Sun, 23 Aug 2015 01:44:34 -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 IlZLGS_xrq-f for ; + Sun, 23 Aug 2015 01:44:32 -0700 (PDT) +Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122]) + by arlo.cworth.org (Postfix) with ESMTPS id 3D5E46DE13A8 + for ; Sun, 23 Aug 2015 01:44:31 -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:To:From; bh=814X5dG6Q8q5nE8DZvZ0S0Udy6gRw32mTV7AOG6UByw=; + b=l6W+FxTfGkxSyAsVFy3AhWi4AD3Ka70C6Mvz5c0YKT/IAu/rf70LVRVuK0G+0rw1X4O4nL150yN5M33JdB18kVuk/L7SDlCFP0yGPSJ6y0lmdJG8uIcYIEM3XXSvdPisFiCvhZ+x121xk6+2Q4qeDh8SSyqsMznNOXZuZDYP6faswx60yDdlDLSidYG3JS86QNWX535wQlDqfuy0AmRT90lL1xG8qkHmIcFRP6f85JYsYV9DK9cw2v8U0r5Vati1KTryOiNEuGHky+q7bbTZ5kedZ/CeQkJnSi3majGR8XGkBMMzgrb85WQSu/AW66YFdaFE9urZM1GfjneCSIxn8g==; +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 1ZTQt8-00016H-L7 + for notmuch@notmuchmail.org; Sun, 23 Aug 2015 10:44:27 +0200 +From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= +To: notmuch@notmuchmail.org +Subject: Re: muchsync files renames +In-Reply-To: <876146o920.fsf@ta.scs.stanford.edu> +References: <878u93ujdo.fsf@freja.aidecoe.name> + <876146o920.fsf@ta.scs.stanford.edu> +User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 23 Aug 2015 09:44:14 +0100 +Message-ID: <871teu8kdd.fsf@freja.aidecoe.name> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha512; protocol="application/pgp-signature" +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: Sun, 23 Aug 2015 08:44:34 -0000 + +--=-=-= +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +Hi David, + +Fist of all thank you for such elaborate answer. + +I have missed the paragraph about maildir.synchronize_flags somehow. I +have it enabled. So this must be source of a problem (?). + +Here follows steps I followed: + +1. I initialized server locally with muchsync -vv. My mail is stored in +~/Mail on the server. +2. I run muchsync --init ~/mail SERVER. (Directory names do not need to +be the same, do they?) +3. I run muchsync SERVER. +4. When it lasted much longer then initialization I canceled it by +single SIGINT (^c). +5. I rerun muchsync SERVER and then it notified me that notmuch +identified files names changes - more than 1000. +6. I waited a bit and then I canceled it by SIGINT. +7. I run muchsync --noup SERVER. This took only seconds to finish. + +I suspected that muchsync at step 3 and 5 tried to push files renames +back to server. But now I am not sure what was going on. Have I +desynchronized file mail flags? It's hard to say if anything has broken +for me, but I am a bit worried anyway. + +If I just disable maildir.synchronize_flags and rerun muchsync, will +everything get synchronized properly? + + +=2D-=20 +Amadeusz =C5=BBo=C5=82nowski + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.1 + +iQJ8BAEBCgBmBQJV2YfeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD +QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEMnAP/RtSkvqNEcP7/BioEBr2FDFt +KiXBioE/mE/WfMy7txbsjMr0cXQ4yKpFsQwWgeZucvlw2ee/R2St4hu+SZcBAuPm +mC15vMSwq/6YjONNBY9nL7qCkIJIqKnDWB1obMNhDQY1B8Ile4r5EDK/V9RgfoTT +TcYsKmwMNXyh6tCelSecew5rsmeJOqtNrZnsfZiuXWWHuL+y4Ph0iGKyydlfMbi6 +O0cTkQwqQFLhrkXt/lCqxHR/bnOgEDBpdgB05So4cEFIRETLDrUz9aCECCtdFh8Q +oefGpUmiLkXMaijz0sU1gf4T8ztKoiIafQx/cr5TztzodlSi8sLqwSvaKFX/fkmZ +YfXObtciJqXJEjhqp925AedJCrzu5SWrjJwHOYQkj6OOC8ROhh3wpIg29l+VB4cQ +ucvPTtJfYyfcKCZv/yIR146bZ9at6fQsMRaVeHIMXdDVPKSyj9r4+GAbb/DtyHbn ++7Xyw7K4g56N8t9lT/P5k4wdpzOHBmSZp62ufYwY1hDv8wZFrNHduFE7PTAg+3p4 +t8XyNvnU3fzeE4M/YEt08UT1NJiP9/sw0qs5RsR2iteJY+bjoTfeayo1FtH+AajR +p7LijQ0JKvq7jfsK7r5D5veOYtjm8dw7FSaE054b6SBTywn9FVrTvYrgAgTG8ZAb +6PDfJmOLgkryC/bx2J3Y +=0lvv +-----END PGP SIGNATURE----- +--=-=-=--