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
- depends upon
-
SOLR-6647 Bad error message when missing resource from ZK when parsing Schema
- Closed