You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Daniel Qian (JIRA)" <ji...@apache.org> on 2018/03/22 08:25:00 UTC

[jira] [Created] (SCB-426) The type of CompensationContext.context field should be thread-safe

Daniel Qian created SCB-426:
-------------------------------

             Summary: The type of CompensationContext.context field should be thread-safe
                 Key: SCB-426
                 URL: https://issues.apache.org/jira/browse/SCB-426
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Saga
    Affects Versions: saga-0.2.0
            Reporter: Daniel Qian
             Fix For: saga-0.2.0


The type of CompensationContext.contexts field currently now is HashMap<>.

Since CompensationContext is both used by CompensableAnnotationProcessor and CompensationMessageHandler, the contexts field should be thread-safe.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)