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}