From user-return-12421-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Thu Dec 12 15:01:53 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C0BC718061A for ; Thu, 12 Dec 2019 16:01:52 +0100 (CET) Received: (qmail 59173 invoked by uid 500); 12 Dec 2019 15:01:51 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 59160 invoked by uid 99); 12 Dec 2019 15:01:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2019 15:01:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9FDD9C20A4 for ; Thu, 12 Dec 2019 15:01:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id a7_CX5Xs_kae for ; Thu, 12 Dec 2019 15:01:49 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.175; helo=mail-qk1-f175.google.com; envelope-from=rammohanganap@gmail.com; receiver= Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 5AEA9BC509 for ; Thu, 12 Dec 2019 15:01:49 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id d202so1849100qkb.1 for ; Thu, 12 Dec 2019 07:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=F2Mq30QvirfSVrioKWCvbx7o6bsYumWjpAi9MzEpbDk=; b=EGtGc2Fx3495G5WnywjhKi6FBNAoFzy7Id3pRSvgYTpO5kDz78V48sUCqtzvVsLM1h dxMX1HmH4WWYdiPOGlTCzu8gRue01oSZzyqHj8uDylJBSSvJeZ08QpTrPx3S3X5c7NUQ aLY3MI8WO2J0Y8WjI0o3KP+yvh8AYkxxMczWy9BXfdApme/WUKmSWFHTivxDs3BJznk0 bhjEYaUzjMAO+w6y6ChJeYjAjgtOLv4Y6zLQfRA5SEssIrwX9SkW9nIDGiwP6vXObxPH vR8w34WNAc7EKL/D3XPjs1cC5AnIKmpn9ODQZiabZMXt3fYdLr+8hEepQNCkZ3RtM1hj NQ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=F2Mq30QvirfSVrioKWCvbx7o6bsYumWjpAi9MzEpbDk=; b=oXWK+pvvz44gTbJmRl1iPPjKUfOsScRFuN6gbWqdDChfHK4NOdnkghKlOQ4bV4JU0P qxXe1+TJGcmzQtpjZspW6zfAQX9K6OcvEcKujnJ7ah8/UxMpqzXDQ3uFq8L4/hhOY1+X ASJdy3Y6q9CmHTNZYqAJ08L9RfFuSFhMtRrVl4S0BCW554RbBb1PWrmponopZfYimGLp uxT8bquDPsVTrApiyCRyPvVMofb203mhbAlCj8whsZnudaHu5uyijMCm2rII9vwvm2GP l/UEfXBVTb736RneLlhjJ0tuqyoQUsVNUkRKkJEie3Q7/m5VE1713hwny0oIe2XBvZc8 oNqA== X-Gm-Message-State: APjAAAUckr30H044PXhz+HVLbRomjN9PWHh1+5O/S7LNO0V/gcGZxSFl wPgwL/pdX5aRngUR0QV1PysiE4yrYiez64HD4+MoBw== X-Google-Smtp-Source: APXvYqx4J5izRnHLiMFdjNVynCmIn/KJ9vaH8ASV39++jxX0hDUr31GF9k6LmHD1dhym2JieQY0LjoxUObfLjDGrEAQ= X-Received: by 2002:a05:620a:a5c:: with SMTP id j28mr8442146qka.218.1576162908713; Thu, 12 Dec 2019 07:01:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: rammohan ganapavarapu Date: Thu, 12 Dec 2019 07:01:35 -0800 Message-ID: Subject: Re: quorum.cnxn.threads.size To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000483b4e05998306b3" --000000000000483b4e05998306b3 Content-Type: text/plain; charset="UTF-8" Flavio, Thanks for clarification, I have a cluster with sasl disabled but in start up log I still see number of threads set to default 20. Thanks, Ram On Thu, Dec 12, 2019, 6:43 AM Flavio Junqueira wrote: > Hi Ram, > > Yes, this parameter is only applicable when SASL is enabled, see in > QuorumCnxManager#initializeAuth how it doesn't have a chance to use the > parameter when SASL is disabled. > > Your assessment is correct about it being based on the number of > participants, excluding observers. This parameter is used in > QuorumCnxManager, which manages connections for leader election, and > observers do not participate in the election. > > -Flavio > > > On 12 Dec 2019, at 14:41, rammohan ganapavarapu > wrote: > > > > Any idea? > > > > On Wed, Dec 11, 2019, 2:23 PM rammohan ganapavarapu < > rammohanganap@gmail.com> > > wrote: > > > >> And to add more on the same property, the description says > >> > >> > >> > >> > >> > >> *"For example, consider a 3-node cluster,# during quorum formation at > >> least 3 outgoing connection requests and 3 incoming connection# requests > >> will occur. So total 6 threads will be used. It is recommended to > configure > >> 2x# number of threads for smooth execution, where 'x' represents the > >> cluster size"* > >> > >> Here* cluster size* is number of *followers* right not both followers > and > >> observers?? > >> > >> Ram > >> > >> On Wed, Dec 11, 2019 at 2:19 PM rammohan ganapavarapu < > >> rammohanganap@gmail.com> wrote: > >> > >>> Is this property only applicable in case of sasl auth enabled? or does > it > >>> work even when we turn off authentication? > >>> > >>> > >>> *quorum.cnxn.threads.size* > >>> > >>> Thanks, > >>> Ram > >>> > >> > > --000000000000483b4e05998306b3--