Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The new producer is not able to produce data when it sees ReplicaNotAvailable error, even when the leader of the replica is still available.
This behavior is different from old producer, which says "any other error code (e.g. ReplicaNotAvailable) can be ignored since the producer does not need to access the replica and isr metadata".
To reproduce the error:
1) Start 4 brokers
2) Create a topic of 1 partition using a replication factor of 3.
3) Start producerPerformance with new producer
4) Kill the leader of the topic/partition
5) Kill the new leader of the topic/partition
6) Observe that the producerPerformance stops producing data.