seekskyworld opened a new pull request, #21298:
URL: https://github.com/apache/kafka/pull/21298

   ## Issue link
   - https://issues.apache.org/jira/browse/KAFKA-20064
   
   ## Summary
   - avoid dropping keys by deriving uncached lookup keys from a single cached 
snapshot
   - add integration test reproducing the admin cache race
   - add unit test covering stale cache snapshot behavior
   
   ## Motivation
   - prevent AdminApiDriver from skipping lookup for keys removed from cache 
during initialization, which can leave futures uncompleted
   
   ## Validation
   - ./gradlew :clients:clients-integration-tests:test --tests 
org.apache.kafka.clients.admin.ConcurrentListOffsetsRequestTest.correctlyHandleConcurrentModificationOfPartitionLeaderCache
   - ./gradlew :clients:test --tests 
org.apache.kafka.clients.admin.internals.AdminApiDriverTest
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to