You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Gibney (Jira)" <ji...@apache.org> on 2020/05/11 19:22:00 UTC

[jira] [Comment Edited] (SOLR-14471) base replica selection strategy not applied to "last place" shards.preference matches

    [ https://issues.apache.org/jira/browse/SOLR-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104776#comment-17104776 ] 

Michael Gibney edited comment on SOLR-14471 at 5/11/20, 7:21 PM:
-----------------------------------------------------------------

Fix (and test illustrating the problem) at [PR #1507|https://github.com/apache/lucene-solr/pull/1507]


was (Author: mgibney):
Fix (and test illustrating the problem) at [PR #blah|https://github.com/apache/lucene-solr/pull/1507]

> base replica selection strategy not applied to "last place" shards.preference matches
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-14471
>                 URL: https://issues.apache.org/jira/browse/SOLR-14471
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: master (9.0), 8.3
>            Reporter: Michael Gibney
>            Priority: Minor
>
> When {{shards.preferences}} is specified, all inherently equivalent groups of replicas should fall back to being sorted by the {{replica.base}} strategy (either random or some variant of "stable"). This currently works for every group of "equivalent" replicas, with the exception of "last place" matches.
> This is easy to overlook, because usually it's the "first place" matches that will be selected for the purpose of actually executing distributed requests; but it's still a bug, and is especially problematic when "last place matches" == "first place matches" – e.g. when {{shards.preference}} specified matches _all_ available replicas.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org