Skip to content

QueryableIndexSegment: Re-use time boundary inspector.#17397

Merged
gianm merged 4 commits intoapache:masterfrom
gianm:qi-tbi-cache
Nov 6, 2024
Merged

QueryableIndexSegment: Re-use time boundary inspector.#17397
gianm merged 4 commits intoapache:masterfrom
gianm:qi-tbi-cache

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Oct 22, 2024

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

Fixes a performance regression introduced in #16533, where these fields stopped being cached across cursors. Prior to that patch, they were cached in the QueryableIndexStorageAdapter.

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.
@gianm gianm merged commit 9c25226 into apache:master Nov 6, 2024
@gianm gianm deleted the qi-tbi-cache branch November 6, 2024 17:28
jtuglu1 pushed a commit to jtuglu1/druid that referenced this pull request Nov 20, 2024
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 added this to the 31.0.1 milestone Nov 22, 2024
clintropolis pushed a commit to clintropolis/druid that referenced this pull request Nov 22, 2024
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 pushed a commit to clintropolis/druid that referenced this pull request Nov 22, 2024
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 added a commit that referenced this pull request Nov 24, 2024
This patch re-uses timeBoundaryInspector for each cursor holder, which
enables caching of minDataTimestamp and maxDataTimestamp.

Fixes a performance regression introduced in #16533, where these fields
stopped being cached across cursors. Prior to that patch, they were
cached in the QueryableIndexStorageAdapter.

Co-authored-by: Gian Merlino <gianmerlino@gmail.com>
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