murblanc opened a new pull request #1528: URL: https://github.com/apache/lucene-solr/pull/1528
Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option. Notes: - org.apache.solr.cloud.autoscaling.sim is non functional, requires more work. - TestZkChroot requires more work - BasicZkTest requires more work (or better: be deleted) Also fixes SOLR-11877: DocCollection.getStateFormat is buggy # Description Remove all code dealing with /clusterstate.json in Zookeeper, remove MIGRATESTATEVERSION Collection API action and the notion of “legacyCloud”. Note this is a draft PR at this stage, need to fix the autoscale sim before it can be merged. # Solution Solr 9 will refuse to start if an existing /clusterstate.json in Zookeeper exists and is not empty. # Tests No new tests, but adapting old tests that were misbehaving. # Checklist Please review the following and check all that apply: - [X] I have reviewed the guidelines for [How to Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms to the standards described there to the best of my ability. - [X] I have created a Jira issue and added the issue ID to my pull request title. - [X] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended) - [X] I have developed this patch against the `master` branch. - [X] I have run `ant precommit` and the appropriate test suite. - [ ] I have added tests for my changes. - [X] I have added documentation for the [Ref Guide](https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide) (for Solr changes only). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org