From dev-return-359157-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Jun 14 17:52:10 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 C999318062F for ; Fri, 14 Jun 2019 19:52:09 +0200 (CEST) Received: (qmail 76356 invoked by uid 500); 14 Jun 2019 17:52:05 -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 76345 invoked by uid 99); 14 Jun 2019 17:52:05 -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; Fri, 14 Jun 2019 17:52:05 +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 3A5E2E0253 for ; Fri, 14 Jun 2019 17:52: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 C8DE12462F for ; Fri, 14 Jun 2019 17:52:00 +0000 (UTC) Date: Fri, 14 Jun 2019 17:52:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-13420) Allow Routed Aliases to use Collection Properties instead of core properties 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-13420?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1686= 4308#comment-16864308 ]=20 ASF subversion and git services commented on SOLR-13420: -------------------------------------------------------- Commit 5d550a34a9b54d317e51d777d5888b1520767c5a in lucene-solr's branch ref= s/heads/master from Gus Heck [ https://gitbox.apache.org/repos/asf?p=3Dlucene-solr.git;h=3D5d550a3 ] SOLR-13420 Routed Aliases now use collection properties instead of core pro= perties > Allow Routed Aliases to use Collection Properties instead of core propert= ies > -------------------------------------------------------------------------= --- > > Key: SOLR-13420 > URL: https://issues.apache.org/jira/browse/SOLR-13420 > Project: Solr > Issue Type: Sub-task > Components: SolrCloud > Affects Versions: master (9.0) > Reporter: Gus Heck > Assignee: Gus Heck > Priority: Major > Attachments: SOLR-13420.patch, SOLR-13420.patch, SOLR-13420.patch= , SOLR-13420.patch, SOLR-13420.patch > > > The current routed alias code is relying on a core property named routedA= liasName to detect when the=C2=A0Routed Alias wrapper URP should be applied= to Distributed Update Request Processor.=C2=A0 > {code:java} > #Written by CorePropertiesLocator > #Sun Mar 03 06:21:14 UTC 2019 > routedAliasName=3Dtestalias21 > numShards=3D2 > collection.configName=3D_default > ... etc... > {code} > Core properties are not changeable after the core is created, and they ar= e written to the file system for every core. To support a unit test for SOL= R-13419 I need to create some legacy formatted collection names, and arrang= e them into a TRA, but this is impossible due to the fact that I can't chan= ge the core property from the test. There's a TODO dating back to the origi= nal TRA implementation in the routed alias code to switch to collection pro= perties instead, so this ticket will address that=C2=A0TODO to support the = test required for SOLR-13419. > Back compatibility with legacy core based TRA's and CRA's will of course = be maintained. I also expect that this will facilitate some more nimble han= dling or routed aliases with future auto-scaling capabilities such as possi= bly detaching and archiving collections to=C2=A0cheaper,=C2=A0slower=C2=A0m= achines rather than deleting them. (presently such a collection would still= attempt to use the routed alias if it received an update even if it were n= o longer in the list of collections for the alias) -- 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