Xushaohong opened a new pull request, #3697:
URL: https://github.com/apache/ozone/pull/3697
## What changes were proposed in this pull request?
Currently if turned on the fail-at-end option and the freon tasks have
failures, `shotdown()` will be processed. It waits for the progress bar to be
completed, while the progress bar will not naturally finish as there are
failures. Thus the freon gets stuck.
```
if (failureCounter.get() > 0 && !failAtEnd) {
progressBar.terminate();
} else {
progressBar.shutdown();
}
```
We shall simply remove the flag check here, when Freon goes into
```shutdown```, it has processed all tasks in waitForCompletion().
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7150
## How was this patch tested?
Manual test on the cluster
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]