Re: [Storagesync] Storagesync Digest, Vol 5, Issue 1

Ted Lemon <mellon@fugue.com> Wed, 09 December 2015 22:05 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: storagesync@ietfa.amsl.com
Delivered-To: storagesync@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 747A41B2E58 for <storagesync@ietfa.amsl.com>; Wed, 9 Dec 2015 14:05:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.912
X-Spam-Level:
X-Spam-Status: No, score=-1.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yx_-twBP_jt7 for <storagesync@ietfa.amsl.com>; Wed, 9 Dec 2015 14:05:21 -0800 (PST)
Received: from fugue.com (mail-2.fugue.com [IPv6:2a01:7e01::f03c:91ff:fee4:ad68]) by ietfa.amsl.com (Postfix) with ESMTP id B4E5F1B2CD4 for <storagesync@ietf.org>; Wed, 9 Dec 2015 14:05:20 -0800 (PST)
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="----sinikael-?=_1-14496987178250.07082593231461942"
From: Ted Lemon <mellon@fugue.com>
To: storagesync@ietf.org
In-Reply-To: <56689982.3040901@owncloud.com>
References: <1449452139832-4f314827-a7ecd596-c5312339@fugue.com> <1449454580239-1fd59d90-52f0231b-370f2ef5@gmail.com,> <1449455245871-cb7e86e1-1a0160c5-aa6acce3@fugue.com> <2015120711170621874681@bjtu.edu.cn> <1449459616112-6043cb32-cd69a1f9-1399f1c0@fugue.com> <CAO_Yprbct8wFbS1WFnZZENSp-OruRUk2nRyBv4tNeKv9_CGuCg@mail.gmail.com> <1449511062426-94cdee34-064ef498-327458b6@fugue.com> <CAO_YprZjqs_OFC3RybVvJ4GHWb3spKMMkkFTZO=YDustp825iw@mail.gmail.com> <1449593642163-c107ebb4-0f6d1c5a-a3f1c5e0@fugue.com> <20151208185922.GA9531@localhost.localdomain> <1449609937865-6dbdad8f-eb44d945-cd684f34@fugue.com> <AE0CE9F1-3968-4229-925B-75AA37EDC327@unterwaditzer.net> <1449670262769-e440b1e3-b960232c-260b9165@fugue.com> <506D291C-4F0B-40F3-8848-97DAAF41CAAE@cern.ch> <1449671733322-9f72a594-b1d5700c-d3631253@fugue.com> <56689982.3040901@owncloud.com>
Date: Wed, 09 Dec 2015 22:05:17 +0000
Message-Id: <1449698718120-5228f72d-575bb833-81b4c859@fugue.com>
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/storagesync/J_G6zSBS59lZbXPbuToo--YmYN4>
Subject: Re: [Storagesync] Storagesync Digest, Vol 5, Issue 1
X-BeenThere: storagesync@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Mechanisms to synchronize client file systems with Internet-based data storage services <storagesync.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storagesync>, <mailto:storagesync-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/storagesync/>
List-Post: <mailto:storagesync@ietf.org>
List-Help: <mailto:storagesync-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storagesync>, <mailto:storagesync-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Dec 2015 22:05:23 -0000

Wednesday, Dec 9, 2015 4:13 PM Klaas Freitag wrote:
> Automatically mergeable or not, I don't think resolving conflicts shoudl
> be part of the sync protocol. Of course conflicts must be detected and
> hooks should exist to plug in code to work with it, but I doubt it
> should be part of the sync layer to interpret and resolve them.

I agree, as I said to Marc.   But the sync protocol has to _support_ the accurate detection of conflicts, or there's no way to resolve them, because you don't know about them (until your change has been overwritten, at which point it's too late).

> And even if there is an automatic resolving of conflicts for some file
> types (that is obviously possible if that is wanted from a higher level
> point of view) there always remains the possibility of not at all
> automatically mergeable conflicts.

Yes, I think we all agree that this is a problem.   Marc mentioned that he thinks it's a research problem.   I think a general solution is a research problem, and not a very interesting one: all I really want is a way to know that the conflict exists and what the sequence of events was; if an automatic merge is possible, that's great, but not required.

> I am also not sure about the importance of the sequence of changes, as
> there are situations caused for example by offline work, where changes
> happen in parallel, these cause a conflict, and it's not really
> important which change was before or after. Important is that both
> versions can be found again, but not necessarily in timely order.

Not remembering the order in which the changes occurred is an optimization which gains you almost no efficiency and costs you greatly in terms of functionality.

> I do not understand why Kuba said "Etags are sufficient" in this
> context, but maybe I lack context because I am late to the party...

Etags are sufficient if you just want to see if what you have is more recent in time than what's on the server.   They don't allow you to detect interleaved updates.


--
Sent from Whiteout Mail - https://whiteout.io

My PGP key: https://keys.whiteout.io/mellon@fugue.com