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

Nodes view support for replica* format

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • Admin UI
    • None

    Description

      The current two core['core'].replace calls in https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.5.0/solr/webapp/web/js/angular/controllers/cloud.js#L410-L416 assume replica_?[ntp]?\d+ format and strangely handle/hide cores which have (say) a replica-foo_bar format.

      This ticket proposes to accommodate replica* format.

      Such replicas can be created via the Collections API e.g.

      admin/collections?action=ADDREPLICA&collection=gettingstarted&shard=shard2&name=gettingstarted_shard2_replica-foo_bar"
      

      via the name parameter. That parameter is undocumented at present (oversight or intentional?) but it works and so it would be nice for the Nodes view to accommodate the replica* format.

      Attribution: my colleague dancollins first noticed locally that the 'Disk usage' column content was there for some nodes but not for others; i then got curious as to the reason and the investigation led to this JIRA ticket here.

      Attachments

        1. demo.sh
          1 kB
          Christine Poerschke
        2. SOLR-12973.02.patch
          0.9 kB
          Christine Poerschke
        3. SOLR-12973.patch
          2 kB
          Christine Poerschke
        4. SOLR-12973-after.02.png
          207 kB
          Christine Poerschke
        5. SOLR-12973-after.png
          197 kB
          Christine Poerschke
        6. SOLR-12973-before.png
          166 kB
          Christine Poerschke

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: