Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-14862 (HOTFIX): Fix ConcurrentModificationException #13734

Merged
merged 2 commits into from
May 21, 2023

Conversation

mjsax
Copy link
Member

@mjsax mjsax commented May 19, 2023

We observed a ConcurrentModificationException. Need to use ConcurrentHashMap to fix it.

Caused by: java.util.ConcurrentModificationException: null
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1221)
	at org.apache.kafka.streams.kstream.internals.KStreamImplJoin$TimeTrackerSupplier.get(KStreamImplJoin.java:65)
	at org.apache.kafka.streams.kstream.internals.KStreamKStreamJoin$KStreamKStreamJoinProcessor.init(KStreamKStreamJoin.java:110)

@mjsax mjsax added the streams label May 19, 2023
@mjsax mjsax merged commit e96a463 into apache:trunk May 21, 2023
@mjsax mjsax deleted the kafka-14862-hotfix branch May 21, 2023 21:39
mjsax added a commit that referenced this pull request May 21, 2023
Reviewers: Walker Carlson <<wcarlson@confluent.io>
@mjsax
Copy link
Member Author

mjsax commented May 21, 2023

Cherry-picked to trunk and 3.5 branch for now. -- Also pinged @showuon about 3.4 -- this we need a new RC for this hotfix to avoid introducing a very bad regression.

showuon pushed a commit that referenced this pull request May 22, 2023
Reviewers: Walker Carlson <<wcarlson@confluent.io>
mjsax added a commit to confluentinc/kafka that referenced this pull request May 22, 2023
Reviewers: Walker Carlson <<wcarlson@confluent.io>
@mjsax
Copy link
Member Author

mjsax commented May 22, 2023

@showuon cherry-picked to 3.4 branch and will roll a new RC fro 3.4.1. Thanks Luke!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants