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

Remove all use of loader.getConfigDir in SolrCloud mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.10.1
    • 4.10.5
    • SolrCloud

    Description

      We have had several cases where getConfigDir() is called in Cloud/ZK mode causing exception, by components/features that were not yet 100% cloud-aware.

      We should inspect the whole code base and avoid calling getConfigDir. Places where we want the full path of a resource for logging, we can simply use the new static method CloudUtil#unifiedResourcePath(loader) instead, introduced in SOLR-6647.

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: