kaisun2000 edited a comment on pull request #1500:
URL: https://github.com/apache/helix/pull/1500#issuecomment-722029935


   > > Let us say if the message have a retry count of INT_MAX, this is not 
going to work. I think we can be a little bit more conservative that if the 
message have a retry count larger than a threshold, we just retry the threshold 
value.
   > 
   > @kaisun2000 , if the user explicitly sets the retry to be infinite, we 
shall not block it, right? Note that the retry won't cause any Helix controller 
issue, since it is only retried on the participant side. For ZK servers, yeah, 
it will lead to many ZK writes potentially. But I think that is a problem at a 
different level, ZK writes throttling for example.
   > In addition, compared with the current behavior, even a retry count == 
INT_MAX works better. Since every retry in the new logic only generates one 
write. The older logic will remove the message and creating a new one. So at 
least 2 write IOs for each retry.
   
   #1487 only makes it by default not logging to ZK. It can still log to ZK 
with some configuration. I think if you cap the retry count to some fixed value 
say 100 would be safer. Just my 2 cents. Up to you.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to