Skip to content

KAFKA-20326: WindowStoreMaterializerTests needs to get updated#21825

Merged
mjsax merged 1 commit into
apache:trunkfrom
frankvicky:KAFKA-20326
Mar 20, 2026
Merged

KAFKA-20326: WindowStoreMaterializerTests needs to get updated#21825
mjsax merged 1 commit into
apache:trunkfrom
frankvicky:KAFKA-20326

Conversation

@frankvicky
Copy link
Copy Markdown
Contributor

@frankvicky frankvicky commented Mar 19, 2026

shouldCreateHeadersStoreWithOnWindowCloseAndCachingEnabled is
incorrect – we removed a check to make it pass for now, but need to add
back the correct assertion after the root cause was fixed.

ref: https://github.com/apache/kafka/pull/21580/changes#r2921529513

Reviewers: Alieh Saeedi asaeedi@confluent.io, Matthias J. Sax
matthias@confluent.io

@github-actions github-actions Bot added triage PRs from the community streams small Small PRs labels Mar 19, 2026
}
if (stateStore instanceof TimestampedToHeadersWindowStoreAdapter) {
return isTimeOrderedStore(((TimestampedToHeadersWindowStoreAdapter) stateStore).store);
}
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.

Should it simply return true as the TimestampedToXxx indicate it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think so -- we only that what we wrapped a WindowStore<Bytes, byte[]> -- but could be any type. It's not guaranteed that it's a RocksDBTimeOrderedWindowStore.

@mjsax mjsax removed the triage PRs from the community label Mar 19, 2026
Copy link
Copy Markdown
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

LGTM.

@mjsax mjsax merged commit bba9952 into apache:trunk Mar 20, 2026
40 checks passed
mjsax pushed a commit that referenced this pull request Mar 20, 2026
`shouldCreateHeadersStoreWithOnWindowCloseAndCachingEnabled` is
incorrect – we removed a check to make it pass for now, but need to add
back the correct assertion after the root cause was fixed.

ref: https://github.com/apache/kafka/pull/21580/changes#r2921529513

Reviewers: Alieh Saeedi <asaeedi@confluent.io>, Matthias J. Sax
 <matthias@confluent.io>
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Mar 20, 2026

Merged to trunk and cherry-picked to 4.3 branch.

Shekharrajak pushed a commit to Shekharrajak/kafka that referenced this pull request Mar 31, 2026
…e#21825)

`shouldCreateHeadersStoreWithOnWindowCloseAndCachingEnabled` is
incorrect – we removed a check to make it pass for now, but need to add
back the correct assertion after the root cause was fixed.

ref: https://github.com/apache/kafka/pull/21580/changes#r2921529513

Reviewers: Alieh Saeedi <asaeedi@confluent.io>, Matthias J. Sax
 <matthias@confluent.io>
nileshkumar3 pushed a commit to nileshkumar3/kafka that referenced this pull request Apr 15, 2026
…e#21825)

`shouldCreateHeadersStoreWithOnWindowCloseAndCachingEnabled` is
incorrect – we removed a check to make it pass for now, but need to add
back the correct assertion after the root cause was fixed.

ref: https://github.com/apache/kafka/pull/21580/changes#r2921529513

Reviewers: Alieh Saeedi <asaeedi@confluent.io>, Matthias J. Sax
 <matthias@confluent.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants