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

2024-03-05 Thread Eric Pugh
Thanks for sharing this….. So, maybe the least bad is to just copy the logic, maybe into SolrCLI.java? > On Mar 5, 2024, at 9:29 AM, Justin Sweeney wrote: > > The tricky part of setData as compared to getData is that in getData we can > tell the data is compressed based on the initial byt

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

2024-03-05 Thread Justin Sweeney
The tricky part of setData as compared to getData is that in getData we can tell the data is compressed based on the initial bytes read. For setData the only way to know if we should compress the provided data is if we read the solr.xml to know if compression is enabled or by adding an argument to

Special characters in variables and delayed expansion on Windows

2024-03-05 Thread Colvin Cowie
Hello. Does anyone know enough about Windows batch to say what's right or wrong when it comes to delayed expansion? I know enough to be dangerous, in a "hit it till it works" approach, but I don't know enough to confidently say what the right answer is. Someone came to me with a problem where they