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

Allow per-collection replica placement node sets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      This is an extension of the existing replica_type concept in the AffinityPlacementPlugin.

      Currently this concept allows users to distribute the placement of new replicas by type (NRT, TLOG, PULL) if the target nodes specify the list of allowed replica types that they accept. This can be easily extended to support any other system property value that the node reports, and pair it with any other collection property instead of replica type.

      The motivation for this is the use case where a cluster is logically divided into nodes with different types of work load (eg. searching, indexing and analytics). Currently it's not possible to configure the placement plugin in a way that automatically puts some collections on specific node sets - instead users would have to always specify the appropriate node set in every CREATE / ADD / MOVE replica request.

      Attachments

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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