[
https://issues.apache.org/jira/browse/KAFKA-21601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai updated KAFKA-21601:
-----------------------------------
Summary: Refactor ExpiringErrorCache#put and add tests for a batch put
exceeding the cache capacity (was: Add tests to ExpiringErrorCacheTest for a
batch put exceeding the cache capacity)
> Refactor ExpiringErrorCache#put and add tests for a batch put exceeding the
> cache capacity
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-21601
> URL: https://issues.apache.org/jira/browse/KAFKA-21601
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Lucy Liu
> Priority: Minor
>
> The existing tests only insert one entry per put, so the in-loop eviction is
> never exercised.
> see [https://github.com/apache/kafka/pull/22423#discussion_r4424573379]
>
> and other follow-ups
> [https://github.com/apache/kafka/pull/22423#discussion_r4645703424] and
> https://github.com/apache/kafka/pull/22423#discussion_r4645709249
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)