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

fix: Return immutable list of streams metadata #4650

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

vpapavas
Copy link
Member

Description

Fixes #4639

StreamsMetadata exposes the internal list which can change while iterating over it resulting in a concurrent modification exception. I create an immutable copy of it.

Testing done

Unfortunately, I cannot reproduce this bug locally.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@vpapavas vpapavas requested a review from a team as a code owner February 26, 2020 22:09
@vpapavas vpapavas merged commit c8f5353 into confluentinc:master Feb 27, 2020
@vpapavas vpapavas deleted the concurrent-bug branch November 23, 2020 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConcurrentModificationException in Cluster status code?
2 participants