From: Ian Jackson Subject: Re: [PATCH] libxc: succeed silently on restore Date: Fri, 3 Sep 2010 11:30:01 +0100 Message-ID: <19584.52777.235611.220953@mariner.uk.xensource.com> References: <5ad37819cddd19a27065.1283444083@localhost.localdomain> <1283446919.12544.9877.camel@zakaz.uk.xensource.com> <19583.55777.287080.230085@mariner.uk.xensource.com> <1283452005.3469.172.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1283452005.3469.172.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Brendan Cully , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxc: succeed silently on restore"): > On Thu, 2010-09-02 at 18:07 +0100, Ian Jackson wrote: > > A related problem is that it is very difficult for the caller to > > determine when the replication has been properly set up: ie, to know > > when the receiver has got at least one whole checkpoint. > > I think this actually does work with the code as it is -- the receive > will return error if it doesn't get at least one whole checkpoint and > will return success and commit to the most recent complete checkpoint > otherwise. Except that the caller doesn't get either of these indications until the replication session eventually fails. Ian.