servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "新道场开张了" <tsubasa...@qq.com>
Subject RE: [DISCUSS]The forwardPolicy of Saga should be able to configurethe maximum of retries
Date Tue, 16 Oct 2018 09:16:56 GMT
I create a new issue in JIRA.
issue address:
https://issues.apache.org/jira/browse/SCB-962




------------------ 原始邮件 ------------------
发件人: "Willem Jiang"<willem.jiang@gmail.com>;
发送时间: 2018年10月16日(星期二) 下午4:29
收件人: "dev"<dev@servicecomb.apache.org>;

主题: Re: [DISCUSS]The forwardPolicy of Saga should be able to configurethe maximum of retries



Yeah, it makes sense to add the maximum number of forward retry.
Could you fill a JIRA for it?
It could be great if you can send a PR of this issue :)

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Tue, Oct 16, 2018 at 4:22 PM 新道场开张了 <tsubasaotl@qq.com> wrote:
>
> Hi, all:
>
>
> Currently, service comb saga would keep trying transaction part when using forwardPolicy.
> The policy is sufficient for some situations, such as network fluctuations or service
unavailability temporarily.
> But for other situations like wrong address, wrong params or wrong SQL, it is possible
to cause saga retry infinitely.
> So, I recommend that Saga should be able to configure the maximum of retries for forwardPolicy.
> When users configure the maximum of retries and transaction failed repeatedly, Saga should
throw exception or do backward.
>
>
> Best Wishes & Regards
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message