Skip to content

Searcher acquired on transport thread #53985

Closed
@DaveCTurner

Description

@DaveCTurner

Today SearchService#rewriteShardRequest runs on a transport thread (Names.SAME) and calls Engine#acquireSearcher. If the engine is a frozen engine then this may involve opening a directory reader, which does a fair amount of IO and therefore should not happen on a transport thread.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions