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

Use OverseerCollectionProcessor.ROUTER and DocCollection.DOC_ROUTER consistently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      This is something I noticed while working on SOLR-7271. There are two different router constants:
      #1. OverseerCollectionProcessor.ROUTER: represents the argument(s) to the OverseerCollectionProcessor
      #2 DocCollection.DOC_ROUTER: represents the router information as stored in the clusterstate in ZK

      But these are sometimes used in the other contexts, which can cause issues if the constant values are not the same (as in SOLR-7271).

        Attachments

        1. SOLR-7272.patch
          4 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: