Skip to content

[Backport] QueryableIndexSegment: Re-use time boundary inspector.#17506

Merged
clintropolis merged 1 commit intoapache:31.0.1from
clintropolis:backport-17397-to-31.0.1
Nov 24, 2024
Merged

[Backport] QueryableIndexSegment: Re-use time boundary inspector.#17506
clintropolis merged 1 commit intoapache:31.0.1from
clintropolis:backport-17397-to-31.0.1

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #17397 to 31.0.1.

This patch re-uses timeBoundaryInspector for each cursor holder, which
enables caching of minDataTimestamp and maxDataTimestamp.

Fixes a performance regression introduced in apache#16533, where these fields
stopped being cached across cursors. Prior to that patch, they were
cached in the QueryableIndexStorageAdapter.
@clintropolis clintropolis force-pushed the backport-17397-to-31.0.1 branch from 3014da9 to 17bc419 Compare November 22, 2024 19:52
@clintropolis clintropolis merged commit 6c56794 into apache:31.0.1 Nov 24, 2024
@clintropolis clintropolis deleted the backport-17397-to-31.0.1 branch November 24, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants