-
Notifications
You must be signed in to change notification settings - Fork 25.7k
WIP: Index size records #97860
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
WIP: Index size records #97860
Conversation
| import java.util.List; | ||
| import java.util.concurrent.locks.ReentrantLock; | ||
|
|
||
| public class MeterIXPoller implements LifecycleComponent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AbstractLifecycleComponent does a lot of the logistics already?
| return records; | ||
| } | ||
|
|
||
| private record IXRecord(String index, int shardId, long term, long generation, String commitId, long size) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the term, generation, and commitId recorded for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in #97978
|
Superseded by #97978 |
Uses the
getLastCommittedSegmentInfos()fromEngineto periodically log segment records.