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

[jira] [Commented] (SCB-268) [pack] compact events to remove unnecessary fields

    [ https://issues.apache.org/jira/browse/SCB-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16577788#comment-16577788 ] 

Willem Jiang commented on SCB-268:
----------------------------------

In the [micro-profile LRA|https://github.com/eclipse/microprofile-lra/blob/master/spec/src/main/asciidoc/microprofile-lra-spec.adoc#322-compensating-activities], it just use the LRA reference id as the parameters for the participate to do the compensation work.

Now we can do the same thing with the help of SCB-785 to reduce the efforts between the omega and alpha.

Using the Global transaction ID and Local transaction ID  or(LRA)  with the local service persistent store can help us find out the context for recovery or retry.

> [pack] compact events to remove unnecessary fields
> --------------------------------------------------
>
>                 Key: SCB-268
>                 URL: https://issues.apache.org/jira/browse/SCB-268
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>            Reporter: Yin Xiang
>            Assignee: Willem Jiang
>            Priority: Major
>             Fix For: saga-0.3.0
>
>
> only TxStartedEvent needs to contain all tx information.
> Asking other events to provide info such as payloads, compensationMethod, parentTxId, etc. is not necessary.
>  
> compacting events not only reduces network load and null/duplicate data in database 



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