Re: [Saga] Ask questions about the Saga transaction process

2019-03-22 Thread zhang_lei
Thank you for your reply, I agree, if we want to use the state machine, we need to analyze the state combination and switch first发送自我的三星盖乐世智能手机。 原始信息 由: Zheng Feng 日期: 2019/3/22 17:45 (GMT+08:00) 收件人: dev@servicecomb.apache.org 主题: Re: [Saga] Ask questions about the Saga

Re: [Saga] Ask questions about the Saga transaction process

2019-03-22 Thread Zheng Feng
It looks like you try to mix the success scenario, failure and compensate scenario, timeout scenario in the one picture ? I think it could be better to separate into the different scenarios. As Willem mentioned, the timeout scenario is much more complicated. Anyway, this is a good idea to find out

Re: [Saga] Ask questions about the Saga transaction process

2019-03-22 Thread zhang_...@boco.com.cn
Thank you for your reply, I think about it again. coolbeevip BOCO > 在 2019年3月22日,上午10:52,Willem Jiang 写道: > > For the timeout part, it's the hardest part of ServiceComb Pack. > Current we just deal it in a simple way: > Once the ServiceInvoker (Hotel) found out

Re: [Saga] Ask questions about the Saga transaction process

2019-03-21 Thread Willem Jiang
For the timeout part, it's the hardest part of ServiceComb Pack. Current we just deal it in a simple way: Once the ServiceInvoker (Hotel) found out there is a timeout event, it just send AbortEvent to the Alpha and end the whole transaction. For the TxEnded after the TxAbortEvent issue, we can

Re: [Saga] Ask questions about the Saga transaction process

2019-03-21 Thread zhang_...@boco.com.cn
This is a light version https://raw.githubusercontent.com/coolbeevip/servicecomb-pack-notes/master/ServiceComb%20Alpha%20Saga/assets/sequence-booking-request-hotel-timeout.png 张 磊 部门: 亿阳信通IT运维支撑产品线 地址: 北京市海淀区杏石口路99号西山赢府商务中心2410 邮编: 100093 手机:

[Saga] Ask questions about the Saga transaction process

2019-03-20 Thread zhang_...@boco.com.cn
The following link is a sequence diagram, step 4 cannot be compensated. Will this happen? https://github.com/coolbeevip/servicecomb-pack-notes/blob/master/ServiceComb%20Alpha%20EventScanner/assets/sequence-booking-request-hotel-timeout.png?raw=true coolbeevip BOCO