developster commented on PR #15080: URL: https://github.com/apache/kafka/pull/15080#issuecomment-1875320392
@gharris1727 , sure. I wrote the test but just invoking methods in order is not enough to trigger the deadlock. The requestTaskReconfiguration method is always executed before putConnectorConfig. I believe it is possible to reliably reproduce the deadlock with two countdown latches, one countdown in the `ConfigBackingStore#snapshot` and another in `ConfigBackingStore#putTaskConfigs`. This requires a mock for the config backing store. If you have a better idea I am happy to analyze it. Unrelated to this PR's issue, it may be that the wait operations in StandaloneHerderTest are by mistake 1000 seconds instead of milliseconds. Isn't it? -- 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