KomachiSion commented on a change in pull request #322: [SCB-962] Support
ForwardPolicy to configure the maximum of retries
URL:
https://github.com/apache/incubator-servicecomb-saga/pull/322#discussion_r227275169
##########
File path:
saga-core/src/main/java/org/apache/servicecomb/saga/core/Fallback.java
##########
@@ -34,6 +34,11 @@ public SagaResponse send(String address) {
public SagaResponse send(String address, SagaResponse response) {
return send(address);
}
+
+ @Override
+ public int retries() {
+ return 0;
Review comment:
No, Fallback does not retry currently.
Because I abstracted the retires method from Compensation to Operation,
Fallback needs to implement this method temporarily.
Considering the default number of retries if Fallback needs to retry in the
future.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services