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

Make SegmentInfos#readCommit(Directory, String, int) public #14027

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

javanna
Copy link
Contributor

@javanna javanna commented Nov 29, 2024

The corresponding readLatestCommit method is public and can be used to read segment infos from indices that are older than N - 1. The same should be possible for readCommit, but that requires the method that takes the minimum supported version as an argument to be public.

The corresponding readLatestCommit method is public and can be used to
read segment infos from indices that are older than N - 1.
The same should be possible for readCommit, but that requires the method
that takes the minimum supported version as an argument to be public.
@javanna javanna added this to the 9.12.1 milestone Nov 29, 2024
Copy link
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

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

Thanks for catching this, it indeed makes little sense to have it public on readLatestCommit and not on readCommit.

@javanna javanna merged commit a6f9bde into apache:main Dec 2, 2024
3 checks passed
javanna added a commit that referenced this pull request Dec 2, 2024
The corresponding readLatestCommit method is public and can be used to
read segment infos from indices that are older than N - 1.
The same should be possible for readCommit, but that requires the method
that takes the minimum supported version as an argument to be public.
javanna added a commit that referenced this pull request Dec 2, 2024
The corresponding readLatestCommit method is public and can be used to
read segment infos from indices that are older than N - 1.
The same should be possible for readCommit, but that requires the method
that takes the minimum supported version as an argument to be public.
javanna added a commit that referenced this pull request Dec 2, 2024
javanna added a commit that referenced this pull request Dec 2, 2024
javanna added a commit that referenced this pull request Dec 2, 2024
The corresponding readLatestCommit method is public and can be used to
read segment infos from indices that are older than N - 1.
The same should be possible for readCommit, but that requires the method
that takes the minimum supported version as an argument to be public.
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.

2 participants