You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (Jira)" <ji...@apache.org> on 2020/06/30 19:38:00 UTC

[jira] [Commented] (GEODE-8185) Geode should participate in JTA transaction as a normal XA resource

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

Eric Shu commented on GEODE-8185:
---------------------------------

In Geode it is hard to support XA transaction. The transaction doe not hold locks for a period of time (only holds the locks during commit). Therefore commit could fail if another transaction has committed and modify the state of entries touched in the current transaction. And current transaction could fail with CommitConflictException. Basically, there is no prepare phase in Geode.

Also, geode does not support for recovery  -- it can not rollback if a transaction is in commit process or committed. If another XAResource failed during commit phase, Geode can not rollback the transaction.

> Geode should participate in JTA transaction as a normal XA resource
> -------------------------------------------------------------------
>
>                 Key: GEODE-8185
>                 URL: https://issues.apache.org/jira/browse/GEODE-8185
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Vadim Lotarev
>            Priority: Critical
>
> Currently Geode doesn't support two phase commit and can participate in JTA transaction only as LRCO (what is not very reliable). It is highly desirable to add normal XA support making Geode cache a normal XA resource with two-phase commit support.
> Many competitors already has such a support.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)