Re: [core] draft-ietf-core-comi-11 shepherd review

Carsten Bormann <cabo@tzi.org> Sun, 28 February 2021 22:26 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 5E2B83A0A25 for <core@ietfa.amsl.com>; Sun, 28 Feb 2021 14:26:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.319
X-Spam-Level:
X-Spam-Status: No, score=-2.319 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 cPPCsz6bzoPj for <core@ietfa.amsl.com>; Sun, 28 Feb 2021 14:26:07 -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 9F5233A0A1C for <core@ietf.org>; Sun, 28 Feb 2021 14:26:07 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DpdJq6912zySB; Sun, 28 Feb 2021 23:26:03 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAJFkdRxCNnuGf8U8jq++ZYVpj0jOj3_szgw+W7mcPb2BP-F6yw@mail.gmail.com>
Date: Sun, 28 Feb 2021 23:26:03 +0100
Cc: "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 636243963.3886729-5219eee778714abbf228bb9cc2d82321
Content-Transfer-Encoding: quoted-printable
Message-Id: <5004CBB9-0905-4B00-964A-B8C490AFA4CE@tzi.org>
References: <B981A721-73BF-4F63-8A67-3666955452DF@tzi.org> <CAJFkdRxCNnuGf8U8jq++ZYVpj0jOj3_szgw+W7mcPb2BP-F6yw@mail.gmail.com>
To: Ivaylo Petrov <ivaylo@ackl.io>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Iu4CAXJRnttY9IjYbkhTrabQwjg>
Subject: Re: [core] draft-ietf-core-comi-11 shepherd review
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: Sun, 28 Feb 2021 22:26:10 -0000

On 2021-02-28, at 23:09, Ivaylo Petrov <ivaylo@ackl.io> wrote:
> 
>> *** 5: This whole section is rather disappointing.  What does this
>>    really do except for pointing at RFC 7959?  Is there any
>>    recommendation in how to work around the race condition?  The
>>    recommendation to use indefinite length is not solving any problem
>>    (does not work except in very fortuitous cases).
> 
> [IP]: I understand your disappointment. It appears to me that we
> should try to state more clearly the issue that is being discussed and
> for me there are two separate ones that are mixed. The first one is
> insufficient resources to send the response. It might be insufficient
> bandwidth of the network (maybe can be solved with SCHC as well) or
> insufficient memory on the server. If it is the latter, I am really
> not certain if that is something we should be solving.
> 
> The second issue is obtaining a snapshot of a consistent snapshot of
> the state. For me we can call this out as a possible issue, but indeed
> recommending indefinite length arrays solves such a small part of the
> issue, that probably it is better not mentioning it at all.

I think my point was that this is a set of problems that all applications that use block-wise transfer have.  RFC 7959 has some brief guidance in its section 7.1, but I agree that a more extensive treatment should be written up.
Just not here…

I believe there should not be a section 5, and the one sentence or so that points out the issue can maybe merged with the item down below.

>> *** 6.2.2 How does the pagination work, then?
>>    This SHOULD is not actionable.
> 
> [IP]: If I understand correctly your objection is that we are not
> prescribing anything concrete, therefore the SHOULD is not helping in
> reality. If that is the case, do you still agree that this is a
> problem worth solving? If so, should we specify in more details a
> mechanism (or refer to one that is already well described elsewhere),
> or can you think of better options.

Resource-directory actually went ahead and put in a basic form of pagination.

But, again, this is a general YANG problem, and we should defer to that being solved for YANG, e.g., as in
https://tools.ietf.org/html/draft-wwlh-netconf-list-pagination-nc-01 (*)
Putting in a SHOULD for something that isn’t defined yet is not the right approach here, but we could very well mention that future additions to YANG/*CONF for pagination could be used to mitigate the problem.

Grüße, Carsten

(*) Does anyone know what happened to this draft?