Re: Moving to bin/solr start defaulting to SolrCloud mode?

2024-02-29 Thread Gus Heck
@uwe With some rare exceptions command line startup for a production environment is starting a single node per machine either way. You start a single node on a single machine and call it a day. Some folks start a single node on 5 servers and point them at the same zookeeper. The only thing that is

Compressing state.json being used in ZkCLI.java?

2024-02-29 Thread Eric Pugh
Hi all, I am poking around ZkCLI.java, and noticed that the compression for a “state.json” file logic is in this file. I’m realizing that the existing bin/solr zk cp command knows nothing about a “state.json” file being compressed or not, and so if you do bin/solr zk cp my_local_st

Re: Compressing state.json being used in ZkCLI.java?

2024-02-29 Thread Justin Sweeney
I actually think that use case should just work since the SolrZkClient can already handle compressed state.json, assuming you are just using the default ZLib implementation of compression. When getting data it looks like the ZkCpTool calls SolrZkClient.getData() which is able to check if the data i