Skip to content

Conversation

@UladzislauBlok
Copy link
Contributor

Fix for flaky testConcurrentRemoveReadForCache1

Short description of root cause:

Before scheduler starts clean up, he's triggering read thread. If it's happening before RemoteIndexCache#remove does remove entity from cache, reader thread will successfully read entity, and won't trigger fetching from remote log

Full analysis:

https://issues.apache.org/jira/browse/KAFKA-19286

Evidence:

Run entire test class and annotate testConcurrentRemoveReadForCache1 as RepeatedTest to run 100_000 times

Result:

./gradlew storage:test --tests org.apache.kafka.storage.internals.log.RemoteIndexCacheTest
...
BUILD SUCCESSFUL in 48m 11s

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) storage Pull requests that target the storage module small Small PRs labels Nov 15, 2025
@parthikjadav
Copy link

Hi everyone! 👋

I’ve proposed a new feature that could really improve the project, and I’d love some help bringing it to life.
If anyone is interested in contributing, here’s the issue with full details:

👉 parthikjadav/atron-js#1 (comment)

Your input, ideas, or PRs would be super appreciated!
Thanks in advance to anyone who wants to collaborate. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs storage Pull requests that target the storage module tests Test fixes (including flaky tests) triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants