Skip to content

Comments

SegementCacheManager: acquireCachedSegment with SegmentId.#19044

Merged
gianm merged 3 commits intoapache:masterfrom
gianm:vsf-acquire-segmentid
Feb 23, 2026
Merged

SegementCacheManager: acquireCachedSegment with SegmentId.#19044
gianm merged 3 commits intoapache:masterfrom
gianm:vsf-acquire-segmentid

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Feb 22, 2026

Prior to this patch, acquireCachedSegment required the entire DataSegment object. This patch loosens the requirement to just the SegmentId.

This is useful under MSQ, where caching is fully on-demand (no load rules) and the full DataSegment object is not necessarily available in the local timeline, even if a segment is cached locally. See the change in RegularLoadableSegment.

Prior to this patch, acquireCachedSegment required the entire DataSegment
object. This patch loosens the requirement to just the SegmentId.

This is useful under MSQ, where caching is fully on-demand (no load rules)
and the full DataSegment object is not necessarily available in the local
timeline, even if a segment is cached locally. See the change in
RegularLoadableSegment.
@github-actions github-actions bot added Area - Batch Ingestion Area - Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Feb 22, 2026
@gianm
Copy link
Contributor Author

gianm commented Feb 23, 2026

The failure was in Docker tests due to 19047, merging anyway.

@gianm gianm merged commit fb7fdb4 into apache:master Feb 23, 2026
34 of 35 checks passed
@gianm gianm deleted the vsf-acquire-segmentid branch February 23, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area - Batch Ingestion Area - Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants