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

LUCENE-10131: Add backcompat indices for 8.10 and add LUCENE_8_10_0 to Version #343

Merged
merged 4 commits into from
Sep 30, 2021

Conversation

thelabdude
Copy link
Contributor

Manually fixing up some steps missed during the 8.10 release process.

I don't think this is correct because 8.10 is not listed in the oldNames array in TestBackwardsCompatibility. Somebody who understands how the testAllVersionsTested method is supposed to work on main (see comment about TRUNK in the code) needs to review.

@@ -383,6 +383,7 @@ public void testCreateEmptyIndex() throws Exception {
"sorted.8.0.0",
"sorted.8.1.0",
"sorted.8.1.1",
"sorted.8.10.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you also need an addition above to oldNames

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, that's the problem @madrob , see my comment in the PR description!

*
* @deprecated (8.11.0) Use latest
*/
@Deprecated public static final Version LUCENE_8_10_0 = new Version(8, 10, 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you need to add an 8_11_0 version. A long time ago, when this all worked properly (like 8.2, I went spelunking in history) we would add the next minor immediately after a release.

Copy link
Contributor

Choose a reason for hiding this comment

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

In main branch this looks good, with LUCENE_8_10_0 being added only. In branch_8x there would be a LUCENE_8_11_0, but that is already OK

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems 8_11 is needed for main too, I don't know why after 8.9, it worked without an 8_10 but I'm already frustrated by this split repo and the release process being broken

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this JIRA to track improving the release manager so this doesn't happen again: https://issues.apache.org/jira/browse/LUCENE-10141

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

Successfully merging this pull request may close these issues.

3 participants