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

Solr Cloud can't upload large config files ( > 1MB) to Zookeeper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Workaround
    • None
    • 7.4, 8.0
    • None
    • None

    Description

      Zookeeper set znode size limit to 1MB by default. So we can't start Solr Cloud with some large config files, like synonyms.txt.

      Jan H√łydahl has a good idea:
      "SolrCloud is designed with an assumption that you should be able to upload your whole disk-based conf folder into ZK, and that you should be able to add an empty Solr node to a cluster and it would download all config from ZK. So immediately a splitting strategy automatically handled by ZkSolresourceLoader for large files could be one way forward, i.e. store synonyms.txt as e.g. __001_synonyms.txt __002_synonyms.txt...."

      Attachments

        1. SOLR-4793.patch
          7 kB
          Steven Rowe

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              sonnguyen Son Nguyen
              Votes:
              4 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: