showuon commented on PR #21025:
URL: https://github.com/apache/kafka/pull/21025#issuecomment-3599930001

   > Thanks for the PR @TaiJuWu .
   > 
   > This solution has the unfortunate side effect that nodes cannot leave and 
join the quorum. The user cannot do the following operations:
   > 
   >     1. First add voter A.
   > 
   >     2. Remove voter A, on purpose or by accident.
   > 
   >     3. Add voter A again. This should succeed but it will fail with this 
PR.
   
   @jsancio , basically, the current solution only block the `auto-join` add 
voter request if it's not the 1st time joined the voters. So in your operation 
example, the step (3) will succeed if it's `manual join` (with 
`AckWhenCommitted=true` in KIP-1186). And if in step (3), it's `auto-join` 
(with `AckWhenCommitted=false`), it will be rejected.


-- 
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