sureshanaparti commented on a change in pull request #4644:
URL: https://github.com/apache/cloudstack/pull/4644#discussion_r626501014
##########
File path: server/src/main/java/com/cloud/ha/HighAvailabilityManagerImpl.java
##########
@@ -795,7 +820,7 @@ private long getRescheduleTime(WorkType workType) {
case ForceStop:
return ((System.currentTimeMillis() >> 10) +
_stopRetryInterval);
case Destroy:
- return ((System.currentTimeMillis() >> 10) +
_restartRetryInterval);
+ return ((System.currentTimeMillis() >> 10) +
_stopRetryInterval);
Review comment:
@shwstppr any reason to change to stop retry interval? if you want to
keep it, move the case stmt after 'ForceStop'.
Alternatively, you can use different config (may be
"_destroy.retry.interval_") for destroy operation, and set its value to the
current value in "_restart.retry.interval_" on upgrade.
--
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]