Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-14115: Allow bin/solr zk commands to have parity with zkcli.sh commands. #2298

Merged
merged 32 commits into from
Apr 29, 2024

Conversation

epugh
Copy link
Contributor

@epugh epugh commented Feb 24, 2024

No description provided.

@epugh epugh marked this pull request as draft February 24, 2024 21:15
@epugh
Copy link
Contributor Author

epugh commented Feb 24, 2024

Discovered that we have some great unit testings for the ZkCLI.java, and we don't have them for bin/solr zk, so going to copy the over to a new unit test ZkSubcommandsTest.java. This will also let me see if they are relatively equivalent or not.

@epugh
Copy link
Contributor Author

epugh commented Mar 3, 2024

Making progress... I know that testPutCompressed is broken.

I think I have bin/solr done, and I am hoping I got bin/solr.cmd done... Now looking at cloud.sh.... cc @gus-asf on these changes coming up....

@epugh
Copy link
Contributor Author

epugh commented Mar 3, 2024

@gus-asf would love your review of commit 2efdcdb specifically!

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 3, 2024
epugh added 3 commits March 3, 2024 12:04
…pressor

However, I think the compression choice COULD be a builder option when creating SolrZkClient, which would simplify the methods and avoid duplication.  Wanted to get POC up.
@epugh epugh marked this pull request as ready for review March 21, 2024 18:56
@epugh epugh requested review from HoustonPutman and gus-asf March 21, 2024 18:56
@epugh epugh merged commit 963b629 into apache:main Apr 29, 2024
5 checks passed
epugh added a commit that referenced this pull request Apr 29, 2024
…ommands. (#2298)

Add updateacls, cluster, and linkconfig as standard Solr tools.  Introduce some better testing of these relatively unknown tools.   Keep zkcli.sh as is for the 9x branch of code.   Some challenges around how we handle compression of state.json dealt with.
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

echo "WARNING: The zkcli.sh script has been deprecated in favour of the bin/solr equivalent commands."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition broke the solr-operator, see apache/solr-operator#720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants