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

Core swapping doesn't work with new metrics changes in place

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4, 7.0
    • Fix Version/s: 6.4.1, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The new 6.4.0 version includes some significant changes having to do with metrics. These changes have broken core swapping. Will attach some screenshots.

      For the screenshots that I will attach, I started Solr directly from the 6.4.0 download on Windows 7 (bin\solr start). Then I created a "foo" core and a "bar" core, each from a different configset, using the bin\solr command.

      • Screenshot 1: you can see the two cores in CoreAdmin.
      • Screenshot 2: Attempting to swap the cores, an error message appears about a metric already existing for the ping handler.
      • Screenshot 3: Clicking somewhere else and then back to CoreAdmin shows that both cores have the same name – bar.
      • If Solr is stopped and then started back up, the admin UI looks like screenshot 1 again – the change that caused two cores with the same name only took place within the running Solr and did not update core.properties files.

        Attachments

        1. solr64coreswap3.png
          104 kB
          Shawn Heisey
        2. solr64coreswap2.png
          112 kB
          Shawn Heisey
        3. solr64coreswap1.png
          107 kB
          Shawn Heisey
        4. SOLR-10054.patch
          18 kB
          Andrzej Bialecki
        5. SOLR-10054.patch
          19 kB
          Andrzej Bialecki

          Activity

            People

            • Assignee:
              ab Andrzej Bialecki
              Reporter:
              elyograg Shawn Heisey
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: