Re: [core] Comments and questions on draft-jarvinen-core-fasor-02

Carsten Bormann <cabo@tzi.org> Wed, 20 November 2019 15:27 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 874331200B1 for <core@ietfa.amsl.com>; Wed, 20 Nov 2019 07:27:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 dWtpyHpFibNN for <core@ietfa.amsl.com>; Wed, 20 Nov 2019 07:27:16 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8921B120013 for <core@ietf.org>; Wed, 20 Nov 2019 07:27:16 -0800 (PST)
Received: from dhcp-9c88.meeting.ietf.org (dhcp-9c88.meeting.ietf.org [31.133.156.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 47J64f2tVHzyNL; Wed, 20 Nov 2019 16:27:14 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4BB4A7FD-FD21-4A72-912B-F8766878B636@ericsson.com>
Date: Wed, 20 Nov 2019 23:27:11 +0800
Cc: "core@ietf.org" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 595956429.436336-b7b227490d07e4ecad5f2a4b830edb9a
Content-Transfer-Encoding: quoted-printable
Message-Id: <96ED9133-1142-41EE-8408-6D3F3DF8F73C@tzi.org>
References: <9917155C-DBA2-43F7-B14C-3B778B27E96F@ericsson.com> <976DBC2F-20DE-4E4F-BB45-BB1C24027AE0@tzi.org> <18122668-6F48-4508-A53C-DC80723B8ED3@ericsson.com> <2CE089EB-D1C9-4692-BC72-309A37551685@tzi.org> <4BB4A7FD-FD21-4A72-912B-F8766878B636@ericsson.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/D9uVx4UtgFnMqj3ps-0U6fasgpo>
Subject: Re: [core] Comments and questions on draft-jarvinen-core-fasor-02
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Nov 2019 15:27:19 -0000

>> 
>> I don’t think that is the intention.
>> If the message-id of a received message is the same as the one the server just processed, just discard.
> 
>   Are you saying that retransmissions of the same message may have different message-id values??? 

No, I was trying to say that a recipient discards duplicates, which they detect by them having the same message-id.

> If so, why do we need this new counter to begin with?  The sender could simply use different message-id values in each retransmission, and use that to associate an acknowledgement with a specific retransmission.

This would take away the deduplication feature, which is sometimes needed, and sometimes just saves some work on the part of the server.

>>> In addition, if a retransmission contains updated information, retransmissions will have to be exposed to the application, rather than being handled by the protocol stack.
>> 
>> Right.  That is not the intention.
> 
> Well, if one is allowed to update information in retransmissions, that would be the case…

Again, the point is that a duplicate is not processed, so the sender could not rely on the updated information being seen (in the case the ACK was lost).

> Retransmissions are typically handled by the protocol stack, so to me it sounds strange that they would update information in the message itself.

(Filling in the max-age value can be handled by the protocol stack as well, which is a good idea at least for implementations that care about accuracy of that information, which is why it can be easy to update it in a retransmission.)

Grüße, Carsten