Skip to content

Remove deprecated usages of search(Query, Collector) from monitor module#16197

Open
javanna wants to merge 1 commit into
apache:mainfrom
javanna:monitor/search_collector
Open

Remove deprecated usages of search(Query, Collector) from monitor module#16197
javanna wants to merge 1 commit into
apache:mainfrom
javanna:monitor/search_collector

Conversation

@javanna
Copy link
Copy Markdown
Contributor

@javanna javanna commented Jun 4, 2026

This is merely removing the deprecated usages, without introducing search concurrency to monitor.

The searcher creation is all internal to monitor and there is currently no way for users to provide an executor to parallelize searches. Should we want to do that in the future, a larger refactor is needed to support inter-segment concurrency.

Created #16198 to follow-up on introducing search concurrency for monitor.

This is merely removing the deprecated usages, without introducing search concurrency to monitor.
The searcher creation is all internal to monitor and there is currently no way for users to
provide an executor to parallelize searches. Should we want to do that in the future, a larger
refactor is needed to support inter-segment concurrency.
@javanna javanna added this to the 10.5.0 milestone Jun 4, 2026
@javanna javanna added module:monitor skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. labels Jun 4, 2026
@javanna javanna requested a review from romseygeek June 4, 2026 12:37
searcher.search(query, collector);
searcher.search(
query,
new CollectorManager<LazyMonitorQueryCollector, Void>() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see that it's common across the two files, worth putting in one place?

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

Labels

module:monitor skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants