You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/05/10 20:57:52 UTC

[GitHub] [druid] maytasm opened a new issue #11230: Make sleep time for org.apache.druid.java.util.common.RetryUtils configurable

maytasm opened a new issue #11230:
URL: https://github.com/apache/druid/issues/11230


   ### Description
   
   Make sleep time for org.apache.druid.java.util.common.RetryUtils configurable
   
   Modify the code so that org.apache.druid.java.util.common.RetryUtils and take in parameters configuring the time between each sleep.
   
   ### Motivation
   
   Currently, the sleep time between retry for the org.apache.druid.java.util.common.RetryUtils is defined as `min(60000ms, 1000ms * pow(2, n - 1))`. The minimum of 60000ms may not always be desirable, especially in code path that is initiated by the user via the UI and that the user is waiting for the response. 
   
   Some example are the need for retry mechanism in `/druid-ext/basic-security/authentication` metadata updates and POST methods of `/druid/coordinator/v1/config/compaction` and `/druid/coordinator/v1/config/compaction/taskslots?ratio={someRatio}&max={someMaxSlots}`
   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org