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

Enable ability to compress state.json in Zookeeper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • None
    • None

    Description

      As noted in the Solr documentation, Zookeeper is intended to hold small files, by default < 1MB: https://solr.apache.org/guide/7_4/setting-up-an-external-zookeeper-ensemble.html#increasing-the-file-size-limit.

      When creating collections with very large number of replicas, it is possible to exceeded that size in the state.json that is created, which then requires Solr operators to reconfigure Zookeeper to increase that limit and also has performance implications.

      I am proposing that we provide the ability to compress state.json using standard ZLib compression. This will be based on a configuration parameter in solr.xml which will provide a minimum size of state.json over which to use compression. This will give Solr operators a better mechanism to handle state.json for very large collections.

      Attachments

        Activity

          People

            jsweeney Justin Sweeney
            jsweeney Justin Sweeney
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 40m
                3h 40m