On 11/12/2020 13:20, Stig Rohde Døssing wrote:
> Hi,
>
> We have a topic with min.insync.replicas = 2 where each partition is
> replicated to 3 nodes.
>
> When we send a produce request with acks=all, the request should fail if
> the records don't make it to at least 2 nodes.
>
> If the produce request fails, what does the partition leader do with the
> records it has written to the local log. Are they deleted, or will the
> producer's retry cause duplication?
>
Hi,

the record is not committed to the filesystem and an error is returned to the 
producer.

regards,

fabio pardi


Reply via email to