Hello!

The default seems to be 0 so you can try and use that. I guess it's good
default unless your transaction is really large.

Regards,
-- 
Ilya Kasnacheev


вт, 19 мар. 2019 г. в 00:24, Ariel Tubaltsev <[email protected]>:

> Hi
>
> I wanted to start the TX transaction with a timeout value, however the
> "txStart" API also expects a "txSize" parameter.
>
> The documentation states we can pass an approximate value.
>
> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteTransactions.html
>
> Could you tell how to estimate it? It's just a number of different keys
> participating in transaction.
>
> In my application I am invoking the "getAndPutIfAbsent()" method twice (2
> different caches) with 2 different keys. So what would need to be the
> "txSize" ?
>
> My use case - I just want to use timeout, I'd be happy to stick with any
> default, if there is such thing.
>
> Thank you
> Ariel
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to