You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Mario Ivanac <ma...@est.tech> on 2019/03/26 07:42:57 UTC

InternalCacheTransactionManager2PC removed from public API

Hi,


Can you tell me why is this header removed from geode native public API (https://issues.apache.org/jira/browse/GEODE-3421),<https://i>

and how we can use XA transactions (2PC) in geode native?


BR,

Mario

Re: InternalCacheTransactionManager2PC removed from public API

Posted by Jacob Barrett <jb...@pivotal.io>.

> On Apr 17, 2019, at 9:26 AM, Charlie Black <cb...@pivotal.io> wrote:
> 
> The way transactions are done in Geode there shouldn't be any artifacts on
> the client side.
> 
> For more info check out the chapter on transactions with Geode:
> https://geode.apache.org/docs/guide/16/developing/transactions/JTA_transactions.html


This is true for the Java clients using JTA but the C++ client obviously can’t use JTA so it implements an interface that a consumer can use to enroll in transactions manually. This interface originally supported single phase commits. The two phase commits being asked for was never made public but should be.

-Jake


Re: InternalCacheTransactionManager2PC removed from public API

Posted by Charlie Black <cb...@pivotal.io>.
The way transactions are done in Geode there shouldn't be any artifacts on
the client side.

For more info check out the chapter on transactions with Geode:
https://geode.apache.org/docs/guide/16/developing/transactions/JTA_transactions.html

On Fri, Apr 12, 2019 at 7:04 AM Jacob Barrett <jb...@pivotal.io> wrote:

> Sorry for the delay.
>
> In the initial source grant it inadvertently in the public headers. Prior
> to the 1.x release of Geode Native it was move internal where it belongs.
> There is currently no way in Geode Native to get access to the two phases
> commit transaction manager. This is an oversight that should be corrected.
> Please open a JIRA asking for public API support for two phase commit
> transactions.
>
> Thanks,
> Jake
>
>
> > On Apr 12, 2019, at 12:49 AM, Mario Ivanac <ma...@est.tech>
> wrote:
> >
> > Hi,
> >
> >
> > just reformulate this question. What is the way forward if we want to
> use 2PC with C++ geode native?
> >
> >
> > Regards,
> >
> > Mario
> >
> > ________________________________
> > Šalje: Mario Ivanac <ma...@est.tech>
> > Poslano: 26. ožujka 2019. 8:42:57
> > Prima: dev@geode.apache.org
> > Predmet: InternalCacheTransactionManager2PC removed from public API
> >
> > Hi,
> >
> >
> > Can you tell me why is this header removed from geode native public API (
> https://issues.apache.org/jira/browse/GEODE-3421),<https://i>
> >
> > and how we can use XA transactions (2PC) in geode native?
> >
> >
> > BR,
> >
> > Mario
>
>

-- 
Charlie Black | cblack@pivotal.io

Re: InternalCacheTransactionManager2PC removed from public API

Posted by Jacob Barrett <jb...@pivotal.io>.
Sorry for the delay.

In the initial source grant it inadvertently in the public headers. Prior to the 1.x release of Geode Native it was move internal where it belongs. There is currently no way in Geode Native to get access to the two phases commit transaction manager. This is an oversight that should be corrected. Please open a JIRA asking for public API support for two phase commit transactions.

Thanks,
Jake


> On Apr 12, 2019, at 12:49 AM, Mario Ivanac <ma...@est.tech> wrote:
> 
> Hi,
> 
> 
> just reformulate this question. What is the way forward if we want to use 2PC with C++ geode native?
> 
> 
> Regards,
> 
> Mario
> 
> ________________________________
> Šalje: Mario Ivanac <ma...@est.tech>
> Poslano: 26. ožujka 2019. 8:42:57
> Prima: dev@geode.apache.org
> Predmet: InternalCacheTransactionManager2PC removed from public API
> 
> Hi,
> 
> 
> Can you tell me why is this header removed from geode native public API (https://issues.apache.org/jira/browse/GEODE-3421),<https://i>
> 
> and how we can use XA transactions (2PC) in geode native?
> 
> 
> BR,
> 
> Mario


Re: InternalCacheTransactionManager2PC removed from public API

Posted by Mario Ivanac <ma...@est.tech>.
Hi,


just reformulate this question. What is the way forward if we want to use 2PC with C++ geode native?


Regards,

Mario

________________________________
Šalje: Mario Ivanac <ma...@est.tech>
Poslano: 26. ožujka 2019. 8:42:57
Prima: dev@geode.apache.org
Predmet: InternalCacheTransactionManager2PC removed from public API

Hi,


Can you tell me why is this header removed from geode native public API (https://issues.apache.org/jira/browse/GEODE-3421),<https://i>

and how we can use XA transactions (2PC) in geode native?


BR,

Mario