kpatelatwork opened a new pull request #10580:
URL: https://github.com/apache/kafka/pull/10580


   *Concurrent requests to validate endpoint for the same connector type calls 
AbstractHerder::getConnector to get the cached connector instances  and if the 
connector hasn't been cached yet then there is a race condition in the 
AbstractHerder::getConnector method that potentially fails to detect that an 
instance of the connector has already been created and, as a result, can create 
another instance*
   
   *Existing tests are present with enough coverage so no new tests are added.*
   
   @C0urante  @rhauch  Could you please review if this fix is acceptable?
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to