Lukasz Antoniak created CASSANALYTICS-179:
---------------------------------------------

             Summary: Correct global timeout for getAllNodeSettings
                 Key: CASSANALYTICS-179
                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-179
             Project: Apache Cassandra Analytics
          Issue Type: Bug
          Components: Writer
            Reporter: Lukasz Antoniak
            Assignee: Lukasz Antoniak


Total timeout waiting for response to all node settings is calculated as:
{code:java}
conf.getSidecarRequestMaxRetryDelayMillis() * conf.getSidecarRequestRetries() * 
allNodeSettingFutures.size(); {code}
The per-request timeout is not taken into account. Most likely sufficient 
timeout is reached due to multiplication by number of "futures". Calculation 
should be corrected to:
{code:java}
(maxRetryDelayMillis + requestTimeout) * maxRetries {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to