You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Igor Sapego <is...@apache.org> on 2021/03/05 10:50:30 UTC
Re: [2.10 branch]cpp thin client transaction :Transaction with id 1
not found.
Guys, I just want to notify you that the issue is fixed and is included in
Ignite-2.10
Best Regards,
Igor
On Thu, Feb 18, 2021 at 3:41 AM 18624049226 <18...@163.com> wrote:
> Hello Ilya,
>
> https://issues.apache.org/jira/browse/IGNITE-14204
> 在 2021/2/18 上午12:14, Ilya Kasnacheev 写道:
>
> Hello!
>
> I confirm that I see this issue. Can you please file a ticket against
> IGNITE JIRA?
>
> Thanks,
> --
> Ilya Kasnacheev
>
>
> вт, 16 февр. 2021 г. в 11:58, jjimeno <jj...@omp.com>:
>
>> Hello!
>>
>> In fact, it's very simple:
>>
>> int main()
>> {
>> IgniteClientConfiguration cfg;
>>
>> cfg.SetEndPoints("10.250.0.10, 10.250.0.4");
>>
>> try
>> {
>> IgniteClient client = IgniteClient::Start(cfg);
>>
>> CacheClient<int32_t, int32_t> cache =
>> client.GetOrCreateCache<int32_t,
>> int32_t>("vds");
>>
>> ClientTransactions transactions = client.ClientTransactions();
>>
>> ClientTransaction tx = transactions.TxStart(PESSIMISTIC,
>> READ_COMMITTED);
>>
>> cache.Put(1, 1);
>>
>> tx.Commit();
>> }
>> catch (IgniteError & err)
>> {
>> std::cout << "An error occurred: " << err.GetText() << std::endl;
>>
>> return err.GetCode();
>> }
>>
>> return 0;
>> }
>>
>> Not always, but sometimes, I get an "stack overflow" error, which makes me
>> think about a concurrence problem in the code.
>>
>> Cluster configuration:
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/dashboard.png>
>>
>>
>> Error:
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/error.png>
>>
>> Just in case, the C++ version I'm currently using is:
>> 685c1b70ca (HEAD -> master, origin/master, origin/HEAD) IGNITE-13865
>> Support
>> DateTime as a key or value in .NET and Java (#8580)
>>
>> Le me know if you need anything else
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>
Re: [2.10 branch]cpp thin client transaction :Transaction with id 1
not found.
Posted by 38797715 <38...@qq.com>.
Hello Igor,
Thank you very much for your hard work!
在 2021/3/5 下午6:50, Igor Sapego 写道:
> Guys, I just want to notify you that the issue is fixed and is
> included in Ignite-2.10
>
> Best Regards,
> Igor
>
>
> On Thu, Feb 18, 2021 at 3:41 AM 18624049226 <18624049226@163.com
> <ma...@163.com>> wrote:
>
> Hello Ilya,
>
> https://issues.apache.org/jira/browse/IGNITE-14204
> <https://issues.apache.org/jira/browse/IGNITE-14204>
>
> 在 2021/2/18 上午12:14, Ilya Kasnacheev 写道:
>> Hello!
>>
>> I confirm that I see this issue. Can you please file a ticket
>> against IGNITE JIRA?
>>
>> Thanks,
>> --
>> Ilya Kasnacheev
>>
>>
>> вт, 16 февр. 2021 г. в 11:58, jjimeno <jjimeno@omp.com
>> <ma...@omp.com>>:
>>
>> Hello!
>>
>> In fact, it's very simple:
>>
>> int main()
>> {
>> IgniteClientConfiguration cfg;
>>
>> cfg.SetEndPoints("10.250.0.10, 10.250.0.4");
>>
>> try
>> {
>> IgniteClient client = IgniteClient::Start(cfg);
>>
>> CacheClient<int32_t, int32_t> cache =
>> client.GetOrCreateCache<int32_t,
>> int32_t>("vds");
>>
>> ClientTransactions transactions =
>> client.ClientTransactions();
>>
>> ClientTransaction tx = transactions.TxStart(PESSIMISTIC,
>> READ_COMMITTED);
>>
>> cache.Put(1, 1);
>>
>> tx.Commit();
>> }
>> catch (IgniteError & err)
>> {
>> std::cout << "An error occurred: " << err.GetText() <<
>> std::endl;
>>
>> return err.GetCode();
>> }
>>
>> return 0;
>> }
>>
>> Not always, but sometimes, I get an "stack overflow" error,
>> which makes me
>> think about a concurrence problem in the code.
>>
>> Cluster configuration:
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/dashboard.png
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/dashboard.png>>
>>
>>
>> Error:
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/error.png
>> <http://apache-ignite-users.70518.x6.nabble.com/file/t3059/error.png>>
>>
>>
>> Just in case, the C++ version I'm currently using is:
>> 685c1b70ca (HEAD -> master, origin/master, origin/HEAD)
>> IGNITE-13865 Support
>> DateTime as a key or value in .NET and Java (#8580)
>>
>> Le me know if you need anything else
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>> <http://apache-ignite-users.70518.x6.nabble.com/>
>>
Re: [2.10 branch]cpp thin client transaction :Transaction with id 1
not found.
Posted by jjimeno <jj...@omp.com>.
Hello,
I've already tested it and it works like a charm... Thanks!
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/