Re: [6tisch] Handling Inconsistent Allocation in 6P

Qin Wang <qinwang6top@yahoo.com> Wed, 30 November 2016 16:47 UTC

Return-Path: <qinwang6top@yahoo.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1FAA9126BF6 for <6tisch@ietfa.amsl.com>; Wed, 30 Nov 2016 08:47:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.995
X-Spam-Level:
X-Spam-Status: No, score=-2.995 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-2.896, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
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 uNAaN8NwsfSh for <6tisch@ietfa.amsl.com>; Wed, 30 Nov 2016 08:47:26 -0800 (PST)
Received: from nm43-vm9.bullet.mail.bf1.yahoo.com (nm43-vm9.bullet.mail.bf1.yahoo.com [216.109.114.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AEAB12999B for <6tisch@ietf.org>; Wed, 30 Nov 2016 08:40:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1480524000; bh=QZ+5y1iGbNJaWRIZRfnfuCprI6L3RzbunpLdcqNrHBA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=mnf4wlzfq+bs2Q3SVvbdqTiSf5qbOIhnbiGjxGpv0D/BHGBzmA4psINKJajVIEtKqa18f2mQi4sNAHltiYZMthAI0ha7I3SyuduWOH2iw/q53vi7lscgCzBrnFGs9xLd+yve4K4o7aD/U8PV4j/ntpkID6tKV6fRQ9yrCuqO0KKr129yGXRA4zPh3g5zrPhJMbBZoen9W1U5iA+9d0SR8XGaFEFCbUCj0sIjlqsjmzECqCQlW64xV+XEv7EyKZ+nFu69DRaBAlCLzNbQQV8VACYEYaHY89mKotFrO56A9/Zuuu+1yZsbP07pq6uaTSQO1wsvPTOxW5AmLXLuw/bgHQ==
Received: from [66.196.81.170] by nm43.bullet.mail.bf1.yahoo.com with NNFMP; 30 Nov 2016 16:40:00 -0000
Received: from [98.139.212.205] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 30 Nov 2016 16:40:00 -0000
Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 30 Nov 2016 16:40:00 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 739753.97953.bm@omp1014.mail.bf1.yahoo.com
X-YMail-OSG: ZUwPPO8VM1mXJ8wMDuXLnKwa22.TI2xIlB.U7FNZvAMR0Fsi4ws7Ayerx3jk.bx vCMC2l221PrfKpJbyRifUgy_SGzyjdtHRyW.8xExIPRFK4OvbklSelQkQ0yJbc4Z_lC4uTYHeIst LsO.aAWye3L51yPvFqvG6q9JxMfr3eSXY5jbgEme_LrZ6ZTZG6vLtvV9hslfFsTYmIFkYImdS9BO 31D29lOtSFyLEjhMRz8cTNfr3W8RQVSBjwCytUloIK7UYL0GeQ.ePDFqYozaEoDBo0Un2WOfc85q kVZ.8HDIt.oB3EYfX5WdTRCO0vUCreaVZ28z3uP0L6px465Twg5AMvshfY6vLirV7MVTFw8zSc7F fDgraXMEFSfvYqrIVqnh.kSrQC8wpK1TNazwYMrDQ4Hv5lfypIGJ2W_0ifayfnRb16J9x0HjtZtf 66zLeqSe7hsobf1WNED9Q3DXTa0_zrsyzOV_pOuUHPAqhpGYAB5qky7E1fSsBpYpRyxmxot.ctC7 f0nUadMFRag.XFQ9xYkAl3aZCdk72cp60MHM-
Received: from jws400111.mail.bf2.yahoo.com by sendmailws134.mail.bf1.yahoo.com; Wed, 30 Nov 2016 16:40:00 +0000; 1480524000.361
Date: Wed, 30 Nov 2016 16:39:35 +0000
From: Qin Wang <qinwang6top@yahoo.com>
To: Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp>, "6tisch@ietf.org" <6tisch@ietf.org>
Message-ID: <1761859297.3541335.1480523975213@mail.yahoo.com>
In-Reply-To: <c1dcec38-7d34-a753-0e33-6a6e6b7582ff@toshiba.co.jp>
References: <1739694970.195512.1479755120596.JavaMail.root@vilafranca.uoc.es> <CAC9+vPiG9ZqziO8ktpuwJrc4YcRQ7Wj1e+ZciNHmZvUE9JafPw@mail.gmail.com> <CADJ9OA-BZrQHEX9yeSoj3_8p-NOoqq0g8o=6hZ_JS-53b+vNYQ@mail.gmail.com> <e431f7a2-48bb-0605-5a90-bdb0cc134322@toshiba.co.jp> <1833275349.763606.1479942137593@mail.yahoo.com> <b19ebf9e-f175-f871-3653-5c89f7201a6c@toshiba.co.jp> <417706060.2950304.1480455632701@mail.yahoo.com> <c1dcec38-7d34-a753-0e33-6a6e6b7582ff@toshiba.co.jp>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_3541334_133165341.1480523975211"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/pJLJ8TAxOYsOf4iZBbX1jpbBluM>
Subject: Re: [6tisch] Handling Inconsistent Allocation in 6P
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Qin Wang <qinwang6top@yahoo.com>
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Nov 2016 16:47:30 -0000

Hi Yasuyuki,
(1) Timeout in nodeA can be triggered either by failure in nodeA=>nodeB request process and by failure in nodeB=>nodeA response process (i.e the process in above example). nodeA cannot tell exact reason for a event of Timeout by itself. In another word, nodeA cannot tell there is a inconsistency between its schedule and nodeB's schedule just based on Timeout. Right?
(2) sending CLEAR, or STATUS, or LIST usually happens after a inconsistency is found, and the function of generation counter is exactly to find out the inconsistency. Make sense?
ThanksQin   

    On Tuesday, November 29, 2016 6:03 PM, Yasuyuki Tanaka <yasuyuki9.tanaka@toshiba.co.jp> wrote:
 

 Hi Qin,

Hmm, in your example, node A can resolve the inconsistency without
using the generation counter by sending CLEAR to node B after the
timeout occurs. Node A could use STATUS or STATUS+LIST before sending
CLEAR in order to confirm inconsistency if the schedule generation
inconsistency detection was disabled...

Best,
Yatch


On 2016/11/29 22:40, Qin Wang wrote:
> Hi Yasuyuki,
>
> I'm not sure I fully understand you.
>
> Let's assume node A wants to ADD cells with nodeB in 2-step
> transaction. After nodeA sends ADD Request to nodeB, the Timeout of
> nodeA is set. nodeB receives the ADD Request, adds the cells to its
> schedule and sends Response back to nodeA at same
> time. Unfortunately, nodeA does not get the Response before Timeout,
> then the schedules on two sides become inconsistent. In this case,
> only generation counter in the following message exchange can tell
> the difference. right?
>
> Thanks
> Qin

_______________________________________________
6tisch mailing list
6tisch@ietf.org
https://www.ietf.org/mailman/listinfo/6tisch