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-6999: Document read-write lock usage of caching enabled stores #5351

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

dongjinleekr
Copy link
Contributor

Add description for the deadlock vulnerability of ReadOnlyKeyValueStore.

@dongjinleekr
Copy link
Contributor Author

Consulting ReadOnlyKeyValueStore from Processor can lead to deadlock (user mailing list)

This is draft documentation for the pitfall described above. But, I have some questions:

  • Is it much better to make the comments boldface?
  • Do we need to add similar comments to KeyValueStore, which defines read/write functionality?
  • As of now, this problem occurs with cache-enabled KeyValueStore which is the default. Would it much better to add comments to the class or Materialized#withCachingEnabled method?

@guozhangwang guozhangwang merged commit 495c78d into apache:trunk Jul 28, 2018
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.

2 participants