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

TestSolrCLIRunExample.testInteractiveSolrCloudExample() ObjectTracker failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This case arose during beasting TestSolrCLIRunExample under SOLR-9867.

      The race is

      • RunExampleTool.runCloudExample() updates softCommit time config
      • but it waits only for Zk change, but not till cores are reloaded.
      • hence test goes further and deletes collection that breaks a core which reload the core. see logs excerpt

        The possible measures are

      • probably RunExampleTool.runCloudExample() should spin wait until cores' config has changed like it's done in SolrCloudExampleTest.doTestConfigUpdate()
      • Core UNLOAD might wait to accuire SolrConfigHandler.reloadLock, which I should be polished itself under SOLR-10594 and that similar to what's done under SOLR-9867, where SolrCores.close() waits until all cores are loaded (not reloaded).

      Which of these do you like more?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkhl Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: