RE: Ignite transactions

2024-02-14 Thread Нестрогаев Андрей Викторович
To: user@ignite.apache.org Subject: Re: Ignite transactions Hi, Andrey tx.start() — thread1 cache1.put|get — thread1 cache2.put|get — thread1 tx.commit — thread1 log operation i didn`t see the problem here Thanks Pavel! 1. According to business logic, I must transactionally change

Re: Ignite transactions

2024-02-14 Thread Zhenya Stanilovsky via user
I can assume that I can use either queues or a separate thread for >these purposes. >  >Нестрогаев Андрей >  >From: Pavel Tupitsyn < ptupit...@apache.org > >Sent: Wednesday, February 14, 2024 12:13 PM >To: user@ignite.apache.org >Subject: Re: Ignite t

RE: Ignite transactions

2024-02-14 Thread jay.ethan
Does anyone have a solution / workaround? We haven’t been able to find an alternative so far. Jay From: Нестрогаев Андрей Викторович Sent: Wednesday, 14 February 2024 10:41 To: 'user@ignite.apache.org' Subject: RE: Ignite transactions 1. Perhaps in earlier versions I cou

RE: Ignite transactions

2024-02-14 Thread Нестрогаев Андрей Викторович
Subject: RE: Ignite transactions Thanks Pavel! 1. According to business logic, I must transactionally change the values in 2 caches; in the course of my actions, I must log all these actions in the 3rd cache (protocol of my actions). So, it doesn’t matter whether my changes in these first two

RE: Ignite transactions

2024-02-14 Thread Нестрогаев Андрей Викторович
@ignite.apache.org Subject: Re: Ignite transactions 1. Not sure I understand 2. Messaging is not transactional 3. No 4. No, transactions are tied to a specific thread On Wed, Feb 14, 2024 at 11:01 AM Нестрогаев Андрей Викторович mailto:a.nestrog...@flexsoft.com>> wrote: Hi All, Maybe someo

Re: Ignite transactions

2024-02-14 Thread Pavel Tupitsyn
1. Not sure I understand 2. Messaging is not transactional 3. No 4. No, transactions are tied to a specific thread On Wed, Feb 14, 2024 at 11:01 AM Нестрогаев Андрей Викторович < a.nestrog...@flexsoft.com> wrote: > Hi All, > > > > Maybe someone has already researched these questions: > > 1. How

Ignite transactions

2024-02-14 Thread Нестрогаев Андрей Викторович
Hi All, Maybe someone has already researched these questions: 1. How can you organize nested/autonomous transactions in ignite? For example, for the purpose of writing a protocol to another cache, so that the protocol is saved regardless of the result of the main transaction. 2. If you use

Re: Ignite transactions stuck between PREPARED and COMMITTING

2020-04-03 Thread Ilya Kasnacheev
Hello! I doubt that there's much expertise here on the behavior of 2.4.0. Regards, -- Ilya Kasnacheev чт, 2 апр. 2020 г. в 20:34, rc : > Hello experts, > > Cluster details: Running Ignite 2.4.0 with 3 servers and 4 clients. > > Observed transaction timeouts after a server node restarted.

Ignite transactions stuck between PREPARED and COMMITTING

2020-04-02 Thread rc
Hello experts, Cluster details: Running Ignite 2.4.0 with 3 servers and 4 clients. Observed transaction timeouts after a server node restarted. Upon further investigation, it was due to PME failures and also saw that there were some long running transactions on a cache for the same key for more

Re: Ignite transactions

2020-03-19 Thread ashishb888
Thanks guys for response -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite transactions

2020-03-13 Thread Mikhail
Hi Ashish, Yes, a transaction will be rolled back if it closed without a successful commit. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite transactions

2020-03-13 Thread akorensh
Closing is enough and an explicit rollback is not necessary. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Ignite transactions

2020-03-13 Thread ashishb888
For below code snippet, if exception occurs do I need to rollback the transaction? Or closing the transaction takes care of it? try (Transaction tx = transactions.txStart()) { Integer hello = cache.get("Hello"); if (hello == 1) cache.put("Hello", 11); cache.put("World",

Re: Ignite transactions dont work on multiple cache

2019-10-24 Thread Ilya Kasnacheev
Hello! I have noticed that you have READ_COMMITTED isolation when reading. It will doubtlessly lead to situation when you read value from TXN-1 to set1 while TXN is in progress, and then will read value from TXN to set2 because it is committed already. Don't you see it as a problem? Regards, --

Ignite transactions dont work on multiple cache

2019-10-23 Thread Andrey Dolmatov
Hi! We try to isolate read transaction from write transaction. So, we write to two transactional caches and commit transaction. From another thread we read from both caches (READ_COMMITED). Ignite isolate data change for every single cache, but not for both caches simultaneously. In Oracle

Apache Ignite Transactions Architecture: Failover and Recovery

2018-02-06 Thread Tom Diederich
Igniters, Akmal Chaudhri has a new blog post headlined, "Apache Ignite Transactions Architecture: Failover and Recovery <https://www.gridgain.com/resources/blog/apache-ignite-transactions-architecture-failover-and-recovery>.” Summary: Various types of cluster failures can occur

New blog post: "Apache Ignite Transactions Architecture: 2-phase commit protocol" by Akmal Chaudhri

2018-01-13 Thread Tom Diederich
Igniters, as most of you are aware, Apache Ignite supports a range of different Application Programming Interfaces (APIs). Akmal Chaudhri just published the first in a multi-part series offering a detailed look at how Apache Ignite manages transactions in its key-value API and some of the

Re: Locking rows within Ignite Transactions

2017-12-04 Thread Alexey Popov
Hi, Please note that cache.get(N) does not lock all "rows" inside a transaction. It just locks "row" with N key. Actually, you should not lock data that is not involved in the transaction. That is why the explicit lock is prohibited. It should be done out of transaction scope. If your case

Locking rows within Ignite Transactions

2017-12-04 Thread kotamrajuyashasvi
Hi I'm using Ignite Transactions(Ignite Version 2.1.0 and *TransactionConcurrency.PESSIMISTIC,TransactionIsolation.REPEATABLE_READ*") and after starting a transaction I need to lock certain rows. According to Ignite 2.1.0 Documentation *"Explicit locks are not transactional

Re: Ignite Transactions and non-committed entries

2016-07-25 Thread vkulichenko
for this single operation. Non-transactional operations are always executed outside of the transactional context, regardless of weather explicit transaction exists in the current thread or not. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Transactions-and-non

Re: Ignite Transactions and non-committed entries

2016-07-22 Thread Juan Velez
s message in context: > http://apache-ignite-users.70518.x6.nabble.com/Ignite-Transactions-and-non-committed-entries-tp6451p6485.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Ignite Transactions and non-committed entries

2016-07-21 Thread juanavelez
ue] Jul 21, 2016 3:35:21 PM org.apache.ignite.logger.java.JavaLogger info INFO: Topology snapshot [ver=11, servers=4, clients=1, CPUs=24, heap=7.6GB] Jul 21, 2016 3:35:23 PM com.juan.ignite.ClientIgnite main INFO: Size=0 Jul 21, 2016 3:35:25 PM com.juan.ignite.ClientIgnite main INFO: Size=0 -- View this message

Re: Ignite Transactions for Out Process Grids

2016-04-27 Thread vkulichenko
Hi Amit, amitpa wrote > Can Ignite transactions work if Grids are out process? > > Why is this document written in Ignite Spring Transaction Manager :- > >Start an Ignite node with proper configuration in embedded mode? > > Can Ignite Transactions work only when Gri

Re: Ignite Transactions with READ WRITE through and Spring

2016-02-11 Thread vkulichenko
ode that initiated transaction during its commit, regardless of how entries involved in transaction are distributed across nodes. So the answer is YES - you're not going to have any consistency issues if you run the transaction properly. -Val -- View this message in context: http://apache-ignite-u

Re: Ignite Transactions with READ WRITE through and Spring

2016-02-11 Thread vkulichenko
entities Person and Account > should be written sync to the Db through the same JVm and in the same case > also the same happens. > > Can you guys please suggest an alternative or the way to configure this? > Please note that my caches are now Atomic and Transactional and are