[nfsv4] What error to return if destination server fails to READ within cnr_lease_time

"Adamson, Andy" <William.Adamson@netapp.com> Thu, 17 December 2015 20:47 UTC

Return-Path: <William.Adamson@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C6CA1B30A3 for <nfsv4@ietfa.amsl.com>; Thu, 17 Dec 2015 12:47:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 eTD5WHSov9gO for <nfsv4@ietfa.amsl.com>; Thu, 17 Dec 2015 12:47:01 -0800 (PST)
Received: from mx143.netapp.com (mx143.netapp.com [216.240.21.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0A6F1A893A for <nfsv4@ietf.org>; Thu, 17 Dec 2015 12:47:01 -0800 (PST)
X-IronPort-AV: E=Sophos; i="5.20,442,1444719600"; d="scan'208,223"; a="85730613"
Received: from hioexcmbx06-prd.hq.netapp.com ([10.122.105.39]) by mx143-out.netapp.com with ESMTP; 17 Dec 2015 12:42:01 -0800
Received: from HIOEXCMBX03-PRD.hq.netapp.com (10.122.105.36) by hioexcmbx06-prd.hq.netapp.com (10.122.105.39) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 17 Dec 2015 12:42:01 -0800
Received: from HIOEXCMBX03-PRD.hq.netapp.com ([::1]) by hioexcmbx03-prd.hq.netapp.com ([fe80::d0b6:c2cf:8cbc:16b8%21]) with mapi id 15.00.1130.005; Thu, 17 Dec 2015 12:42:01 -0800
From: "Adamson, Andy" <William.Adamson@netapp.com>
To: Tom Haynes <thomas.haynes@primarydata.com>
Thread-Topic: What error to return if destination server fails to READ within cnr_lease_time
Thread-Index: AQHROQtgJk+RkgFTYEiPKjXoBPYqoQ==
Date: Thu, 17 Dec 2015 20:42:00 +0000
Message-ID: <2EE02221-E9C5-4087-AFA6-1A1D52308C0C@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.2098)
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.122.56.79]
Content-Type: text/plain; charset="utf-8"
Content-ID: <465BFC284301D04E84244EC400D1B2BF@hq.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/458pkFVmmed5lEmrUMkWwmJ_6bQ>
Cc: NFSv4 <nfsv4@ietf.org>
Subject: [nfsv4] What error to return if destination server fails to READ within cnr_lease_time
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 17 Dec 2015 20:47:03 -0000

From draft-ietf-nfsv4-minorversion2-39 Section 15.3.3.  DESCRIPTION of COPY_NOTIFY:

   If this operation succeeds, the source server will allow the
   cna_destination_server to copy the specified file on behalf of the
   given user as long as both of the following conditions are met:


      The destination server begins reading the source file before the
      cnr_lease_time expires. 



So on an inter-SSC the source server starts the cnr_lease_time upon the reply to COPY_NOTIFY, and 
if the cnr_lease_time expires prior to the beginning of the READ from the source
 server, the source server fails the READ.

1) What is the error returned by the source server on the READ? 

It’s not NFS4ERR_EXPIRED as this refers to the clients lease and will promt the client to recover the stateid.  


2) What is the error returned by the destination server on the COPY?

I would hope it is the same error as returned by READ. 

Do we need a new error code?

Suggestions? 

—>Andy