Skip to content

Conversation

@stu-elastic
Copy link
Contributor

Uses the getLastCommittedSegmentInfos() from Engine to periodically log segment records.

@stu-elastic stu-elastic added WIP :Core/Infra/Core Core issues without another label labels Jul 20, 2023
@elastic elastic deleted a comment from pgomulka Jul 25, 2023
import java.util.List;
import java.util.concurrent.locks.ReentrantLock;

public class MeterIXPoller implements LifecycleComponent {
Copy link
Member

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) {}
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed in #97978

@stu-elastic
Copy link
Contributor Author

Superseded by #97978

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

Labels

:Core/Infra/Core Core issues without another label v8.10.0 WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants