wuchong commented on PR #2468:
URL: https://github.com/apache/fluss/pull/2468#issuecomment-3795957426

   Thanks, @ZuebeyirEser, for the thorough investigation. While the current fix 
works, I think there’s a simpler approach.
   
   Since `produceLog` is only used to trigger ISR shrinking and doesn’t require 
strong durability guarantees, it doesn’t need to wait for full ISR 
acknowledgment. We can set its `acks` to `1`, so the produce request succeeds 
immediately without waiting for all in-sync replicas.  
   
   This still triggers ISR shrinking: since a follower has been stopped, it 
will exceed `LOG_REPLICA_MAX_LAG_TIME`, prompting the controller to update the 
LeaderAndIsr in ZooKeeper accordingly.
   
   What do you think, @ZuebeyirEser and @swuferhong?


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