From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xinze Chi Subject: Re: crc error when decode_message? Date: Mon, 16 Mar 2015 22:04:46 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f44.google.com ([209.85.218.44]:35644 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751875AbbCPOEq (ORCPT ); Mon, 16 Mar 2015 10:04:46 -0400 Received: by oiag65 with SMTP id g65so38384603oia.2 for ; Mon, 16 Mar 2015 07:04:46 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Haomai Wang , "ceph-devel@vger.kernel.org" How to process the write request in primary? Thanks. 2015-03-16 22:01 GMT+08:00 Haomai Wang : > AFAR Pipe and AsyncConnection both will mark self fault and shutdown > socket and peer will detect this reset. So each side has chance to > rebuild the session. > > On Mon, Mar 16, 2015 at 9:19 PM, Xinze Chi wrote: >> Such as, Client send write request to osd.0 (primary), osd.0 send >> MOSDSubOp to osd.1 and osd.2 >> >> osd.1 send reply to osd.0 (primary), but accident happened: >> >> 1. decode_message crc error when decode reply msg >> or >> 2. the reply msg is lost when send to osd.0, so osd.0 do not receive replay msg >> >> Could anyone tell me what is the behavior if osd.0 (primary)? >> >> Thanks >> >> 2015-03-16 20:02 GMT+08:00 Xinze Chi : >>> hi, all: >>> >>> I want to know what is the behavior of primary when >>> decode_message crc error , such as read >>> >>> ack response message from remote peer? >>> >>> Thanks. >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > -- > Best Regards, > > Wheat