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-15342 Solrj-Zookeeper: opt-out on 9x #1013

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Sep 15, 2022

On 9.x, Solrj-Zookeeper should be "opt-out", thus a user needs to opt-out if they don't want it. Don't change main (opt-in).

I looked at the upgrade docs for 9.1 in solr-upgrade-notes.adoc and I thought maybe just leave it be. What it says isn't wrong -- yes you will need this JAR if you use this functionality. It's unspecified wether this happens automatically or not based on Maven POM (for those that use it which is most folks for sure). In some sense it's a detail.

In main, I can add a note for the 10.x upgrade to mention this, where it's more impactful / noticeable.

Meaning a user who doesn't want it has to opt-out.  For backwards compatibility.
Copy link
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

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

Sure, looks good. A CHANGES line is probably nice though, perhaps co-located with the original changes line?

@dsmiley
Copy link
Contributor Author

dsmiley commented Sep 15, 2022

BTW I spot-checked the generated POM to observe the desired runtime dependency.

A CHANGES line is probably nice though, perhaps co-located with the original changes line?

I disagree. This particular PR effectively augments the existing work that already has a CHANGES.txt. It's a branch specific implementation detail. Instead, I think maybe main should not only have an upgrade note but possible a mention of this difference in CHANGES.txt in its own section.

@janhoy
Copy link
Contributor

janhoy commented Sep 15, 2022

I just realized this PR is on the same JIRA number as the main task, and it does not say that users need to do anything differently, so then I agree too. It will be in 10.0 that we need to document the opt-in.

@dsmiley dsmiley merged commit 8088917 into apache:branch_9x Sep 15, 2022
@dsmiley dsmiley deleted the SOLR-15342-9x-SolrJ-zkOptOut branch September 15, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants