[
https://issues.apache.org/jira/browse/SCB-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated SCB-522:
-----------------------------
Fix Version/s: (was: saga-0.2.0)
> Compensation call could fail because of CompensationContext is instance
> related
> -------------------------------------------------------------------------------
>
> Key: SCB-522
> URL: https://issues.apache.org/jira/browse/SCB-522
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Saga
> Affects Versions: saga-0.1.0
> Reporter: haifeng niu
> Priority: Major
>
> It's a critical situation, I could not provide a test case. But I can explain
> it with an example:
> We deploy two service instance A and B with same codebase. We usually do this
> for high available.
> If A did some operation, CompensationContext of A will cache instance of
> service bean, than later it would be used in compensation call if error
> happens.
> But if A crash, the coordinator (aka alpha) will call an backup service
> instance, which is B, to compensate. Although there is no cached instance of
> service bean in CompensationContext of B, so compensation fail.
> We expect any instance of same service should process compensation
> successfully, if it doesn't, it is a bug.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)