Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1E20200CC2 for ; Wed, 21 Jun 2017 03:55:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0BB0160BEF; Wed, 21 Jun 2017 01:55:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 113CF160BE1 for ; Wed, 21 Jun 2017 03:55:49 +0200 (CEST) Received: (qmail 15200 invoked by uid 500); 21 Jun 2017 01:55:49 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 15189 invoked by uid 99); 21 Jun 2017 01:55:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2017 01:55:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 830D2CD4BF for ; Wed, 21 Jun 2017 01:55:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7QguodKhQnuM for ; Wed, 21 Jun 2017 01:55:46 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9D5045F6C0 for ; Wed, 21 Jun 2017 01:55:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v5L1tjfh017092; Wed, 21 Jun 2017 01:55:45 GMT Message-Id: <201706210155.v5L1tjfh017092@ip-10-146-233-104.ec2.internal> Date: Wed, 21 Jun 2017 01:55:45 +0000 From: "Michael Ho (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Henry Robinson , Dan Hecht , Sailesh Mukil Reply-To: kwho@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-5537=3A_Retry_RPC_on_somes_exceptions_with_SSL_connection=0A?= X-Gerrit-Change-Id: I8243d4cac93c453e9396b0e24f41e147c8637b8c X-Gerrit-ChangeURL: X-Gerrit-Commit: fe636914ecea90e9e1e6223659e80182902e75ca In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Wed, 21 Jun 2017 01:55:50 -0000 Michael Ho has posted comments on this change. Change subject: IMPALA-5537: Retry RPC on somes exceptions with SSL connection ...................................................................... Patch Set 5: (3 comments) http://gerrit.cloudera.org:8080/#/c/7229/5/be/src/rpc/thrift-util.cc File be/src/rpc/thrift-util.cc: PS5, Line 198: This is not very robust as it's : // possible that the receiver of the RPC call may have received all the RPC payload : // but the ACK to the sender may have been dropped somehow. In which case, it's : // not safe to retry the RPC if it's not idempotent. > maybe reword this to say the caller should first check if the send was comp Done PS5, Line 202: end-to-end tracking of RPC calls to detect duplicated calls in the receiver side > what does that mean? is it still applicable? Removed. http://gerrit.cloudera.org:8080/#/c/7229/5/be/src/runtime/client-cache.h File be/src/runtime/client-cache.h: Line 330: client_is_unrecoverable_ = false; > i guess this restores the behavior before the patch that introduced this Re Yes. It was missing in the last patch. It resulted in sub-optimal behavior as good connection may be closed. -- To view, visit http://gerrit.cloudera.org:8080/7229 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8243d4cac93c453e9396b0e24f41e147c8637b8c Gerrit-PatchSet: 5 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Michael Ho Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Sailesh Mukil Gerrit-HasComments: Yes