confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
7.37k stars 3.11k forks source link

Metadata cache cleared by a full metadata refresh #4685

Closed emasab closed 2 months ago

emasab commented 2 months ago

Description

Metadata cache is cleared if a full metadata request is made, that happens because cache isn't updated by because of this condition and the all entries that haven't been updated since function start are cleared here

How to reproduce

Execute test 0146/do_test_metadata_persists_in_cache in #4677.

Checklist

Please provide the following information:

emasab commented 2 months ago

Fixed in #4677