fxbing commented on PR #14674: URL: https://github.com/apache/kafka/pull/14674#issuecomment-1788697027
> Thanks for this PR! @fxbing. I think this deserves a jira to track. And can you add a unit test? @hudeqi Thanks for the comments, I've added the jira issue. But regarding unit testing, it is not easy to conduct non-intrusive unit testing accurately. What I can think of is to ensure consistent results through concurrent calls by many threads, but even in the problematic version, there is a certain probability of successful execution. Do you want to add such unit tests? Any other better suggestions? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org