Re: [nfsv4] Fwd: New Version Notification for draft-mzhang-nfsv4-sequence-id-calibration-01.txt

Tom Talpey <tom@talpey.com> Fri, 31 March 2023 16:02 UTC

Return-Path: <tom@talpey.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D78C2C14E513 for <nfsv4@ietfa.amsl.com>; Fri, 31 Mar 2023 09:02:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XwYoX_38DiW4 for <nfsv4@ietfa.amsl.com>; Fri, 31 Mar 2023 09:02:21 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2062f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::62f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC117C15155B for <nfsv4@ietf.org>; Fri, 31 Mar 2023 09:02:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AEPZH+wWBk3U2XEMEa6zuNd47JK8Yl8BbasOEHc+cW7fh04laxkUJKa1B4BoPI32wg5u4F8eJfMpS93cyFqBGfXkc9uDFP9fk3vYBo7F+4guUpFHDXIaxsUHi2gcpKfbpYCl4ECQIxE49bGQSPk1HTzIxZyRTQodhO41Z6Cb3fluD/hHVJrKNRQRSV5A/r0N1ImgTo8NwqBddLrJZvROMoQQ2g2ogbbcn0UP/hjnDTQIS0yFz7u3beFRqqxWSLNHgP77vYvfI9aia/EDTn9vaIGLC+wAaThQnFez4jTJEsSwb8/Prw+zi4uw2f0P2u4LKu7XytS4nbZ9dtwNp7cRqg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kU7CO5ssFpfkPcWqYkYhrftUpEaYbJxzsVKaWnI3W6U=; b=hxjGQ2QAv7kdhoAI8mLKyJFvi631kZG8nSI9C8ps6xANvqa4AVEc1XCm37xiXKgWEcnm//bx4icqL79ST13h7WjYrPBZAJ89kQ3dYYlbWSg4RLISTJnD80F3ZBP4sk98vB7l1Ygjk0BF0/lkNbFzVw0Plxk4Ah23WUCAjUm/UDoqlnokuamG457BXgv4Y8G+ANn4sBOnok4wcWt/D056XrnHFQp4bF0HHH43GE5PY6n0hAghPJCpTmBI5qG0D+fZsoJAHcOVc0XnHrzihZZsRsBcb7fa+4I2upAfP1OB/P3nrW6F/jQCmTzni43k1O+lS8boDQvTMqJDysnKbmys7w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=talpey.com; dmarc=pass action=none header.from=talpey.com; dkim=pass header.d=talpey.com; arc=none
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=talpey.com;
Received: from SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33) by BY3PR01MB6676.prod.exchangelabs.com (2603:10b6:a03:36c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.13; Fri, 31 Mar 2023 16:02:15 +0000
Received: from SN6PR01MB4445.prod.exchangelabs.com ([fe80::342f:eeac:983e:3e2f]) by SN6PR01MB4445.prod.exchangelabs.com ([fe80::342f:eeac:983e:3e2f%5]) with mapi id 15.20.6254.016; Fri, 31 Mar 2023 16:02:15 +0000
Message-ID: <f57c7b56-7812-58a1-ae45-447c9e7ba933@talpey.com>
Date: Fri, 31 Mar 2023 12:02:14 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1
Content-Language: en-US
To: nfsv4@ietf.org
References: <06688a20fab448b78a76a1e41b91f781@huawei.com>
From: Tom Talpey <tom@talpey.com>
In-Reply-To: <06688a20fab448b78a76a1e41b91f781@huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: BLAPR03CA0050.namprd03.prod.outlook.com (2603:10b6:208:32d::25) To SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SN6PR01MB4445:EE_|BY3PR01MB6676:EE_
X-MS-Office365-Filtering-Correlation-Id: 0fe2d34f-3ef5-4c2b-fc7e-08db32014bf1
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 5dxbJC5D8SDbwR2zEvAgrCPA1JakVEIjFqfveVpWorKhL2sYk7zBrEeaI2omJLFrRDqEftc0aZHV6zNCVoQFDCB8sNEY/zRdAXFmo+e4+40UpKBRKsRgBEvJi4LyJhE/TPRZc21S40J5S2NComt3kWVdKhWPKPHoVaiayOHzFpY1cv2Ks4HSzR8JISIeLVIyuVi130+xolJuYT79kNfXFTAaBpJ1qqFxmJJ138m0awd2VTtA0g2hRe3zhUhvFdbjfNcBrCq5Q8N8hb9au2Z49J97fKEfx6lPgAG675rV69abINMbAqLFI2DD9uyte+Q4fFVngg6rgCX2XrTUcUAwZGXQtVGzGdrg9QjA4wTV2keGmTuJOfqSotekwlJPmKqzs26J2UwCMUxy87diuRma0IG4lplZanP77SMSlIw5EDJZTc81a1YvIcZCpT7p4EJMjU1sFGMTB0jj5ax5HrJ/h/k2c+t8nP/danpjxq08BkeK7YPi6gsRZrnl80EKLSOdU65EZD7bzuZDfgJFLQ4+a0UxcsyMFKibVg62wev0CW7wauXqUTquGKHnmZdAYs6j5T9YtGlbchg6mGHbh4JKnpjVrZQr8EeOvHiMidj4ShRUQEubQJ1HkF+eWL65aNkm0d0Z2l2zaGT/d5c9UKpkmQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR01MB4445.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(376002)(366004)(136003)(346002)(39830400003)(451199021)(53546011)(31686004)(186003)(8936002)(8676002)(66476007)(2906002)(6512007)(6506007)(5660300002)(26005)(66946007)(66556008)(86362001)(2616005)(41300700001)(38350700002)(38100700002)(83380400001)(36756003)(6916009)(31696002)(6486002)(478600001)(52116002)(316002)(43740500002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: XVkqpK4DFCJs7AjgQgFJVTLElcJxRYIy9uJzgs6i38tvC3LWtUct4YTeARC4gGDI6DnDIgrvRB7iypiHTl2QfMO5MiHR4ezLVUX7aBu4lgE1pV1JcoVeKd+QUUHpJi2YxXKIpL6OpbjMOtHCGeoU93LhIb0X//c0U49dbEiqbbmC94BdFkrxMgUlZKY5mhYSvdZveSTE1VG92XNEnGb/gLFFU4yKkVa6pUYFg60WV/teWAdQRs7w2fM1ki9uEBl4hFHosn+o92vuGc5YhnO0zctVIN2LaStKB3koVV54B5sz1JVyzExdaZcybvBv6OykDracKpRAuPld2BVTIKevTnmlqkYmscZgrn7G+UZZspbAEriVfIpxboSO0aGXF37/+9az1Hm6PDtUGGQ02jA8qMB10F9645tHOqj9kNNaOG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ij4Faf4UmZA6AnpQw6oQOTfV6zs00oADktgootapme++hHZHujTUMudpfrg9HORRanSPXzaWAEBwI7EnNIvw/98
X-OriginatorOrg: talpey.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0fe2d34f-3ef5-4c2b-fc7e-08db32014bf1
X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB4445.prod.exchangelabs.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2023 16:02:15.5503 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 2b2dcae7-2555-4add-bc80-48756da031d5
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: nS9s6RnZ39VMBfuDfb9u5CBfE7Nmdb2An56rg/Omp9DUIVo2y2r6DJEvgTwKysQI
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR01MB6676
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/tdBYMXGBFU3ZAM-qrRQHoY_GYqM>
Subject: Re: [nfsv4] Fwd: New Version Notification for draft-mzhang-nfsv4-sequence-id-calibration-01.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Mar 2023 16:02:22 -0000

On 3/20/2023 2:55 AM, yangjing (U) wrote:
> About draft draft-mzhang-nfsv4-sequence-id-calibration-01.txt , do you have any comments on it?

Thank you for presenting this in yesterday's WG session.

I'm not sure that I agree this is the correct approach.
A misordered sequence number is not something that should
occur in normal operation, but it can occur in certain
recovery scenarios. Your draft attempts to provide a way
for the client to reset the sequenceid, but this does not
address the underlying error! In fact, in my opinion it
dangerously makes things worse, by effectively ignoring it.

However, I agree that a more clear statement of the handling
of a misordered sequence error can be made in RFC 8881.
There is one special case, I believe, which allows the server
to return misordered from a busy reply cache entry (section
2.10.6.2 of RFC8881), but makes no statement how the client
should handle it. Also there is some rather vague language
in section 11.14.3 regarding the server, where I find the
following:

> In view of the difficulty of arriving at a mutually acceptable value
> for the correct last sequence value at the point of migration, it may
> be necessary for the server to show some degree of forbearance when
> the sequence ID is one that would be considered unacceptable if
> session migration were not involved.

"Some degree of forbearance" is not exactly normative. :)

After we understand your report some more, perhaps filing an
erratum will be appropriate to correct or improve these.

You mentioned that your and your team were not able to identify
the cause using logging on client and server. May I suggest you
try capturing a trace, or add some synthetic testing to determine
whether this is the server not validating the slot/sequence properly,
if it's the client actually sending a bad sequence into the slot,
or is one of the special cases in RFC 8881? Also, what operations
are actually receiving this misordered error? The draft correctly
mentions three possibilities, but I don't recall hearing which one
led you to this approach, or whether the new operations can be
somehow limited to recovering them.

By the way, which clients, and which servers, have you observed
this issue with?

Tom.