Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14471

base replica selection strategy not applied to "last place" shards.preference matches

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.3, main (9.0)
    • Fix Version/s: 8.5.2, 8.6, main (9.0)
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              tflobbe Tomas Eduardo Fernandez Lobbe
              Reporter:
              mgibney Michael Gibney

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                  Issue deployment