From dev-return-355650-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Mon May 13 15:48:07 2019 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id C390F19172 for ; Mon, 13 May 2019 15:48:06 +0000 (UTC) Received: (qmail 42586 invoked by uid 500); 13 May 2019 15:48:02 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 42469 invoked by uid 500); 13 May 2019 15:48:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 42365 invoked by uid 99); 13 May 2019 15:48:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2019 15:48:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3B19FE2BE8 for ; Mon, 13 May 2019 15:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6DCB325817 for ; Mon, 13 May 2019 15:48:00 +0000 (UTC) Date: Mon, 13 May 2019 15:48:00 +0000 (UTC) From: =?utf-8?Q?Tom=C3=A1s_Fern=C3=A1ndez_L=C3=B6bbe_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-13445) Preferred replicas on nodes with same system properties as the query master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-13445?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1683= 8635#comment-16838635 ]=20 Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe commented on SOLR-13445: ---------------------------------------------- Nice! Thanks for adding this Dat! > Preferred replicas on nodes with same system properties as the query mast= er > -------------------------------------------------------------------------= -- > > Key: SOLR-13445 > URL: https://issues.apache.org/jira/browse/SOLR-13445 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public)=20 > Reporter: Cao Manh Dat > Assignee: Cao Manh Dat > Priority: Major > Fix For: master (9.0), 8.2 > > Attachments: SOLR-13445.patch, SOLR-13445.patch, SOLR-13445.patch > > > Currently, Solr chooses a random replica for each shard to fan out the qu= ery request. However, this presents a problem when running Solr in multiple= availability zones. > If one availability zone fails then it affects all Solr nodes because the= y will try to connect to Solr nodes in the failed availability zone until t= he request times out. This can lead to a build up of threads on each Solr n= ode until the node goes out of memory. This results in a cascading failure. > This issue try to solve this problem by adding > * another shardPreference param named {{node.sysprop}}, so the query will= be routed to nodes with same defined system properties as the current one. > * default shardPreferences on the whole cluster, which will be stored in = {{/clusterprops.json}}. > * a cacher for fetching other nodes system properties whenever /live_node= s get changed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org