ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-8171) Document how to rollback transactions to let PME complete
Date Fri, 06 Apr 2018 22:59:00 GMT
Denis Magda created IGNITE-8171:
-----------------------------------

             Summary: Document how to rollback transactions to let PME complete
                 Key: IGNITE-8171
                 URL: https://issues.apache.org/jira/browse/IGNITE-8171
             Project: Ignite
          Issue Type: New Feature
          Components: documentation
            Reporter: Denis Magda
             Fix For: 2.5


Some Ignite operations provoke partition map exchange process within Ignite to ensure the
partitions distribution state is synchronized cluster-wide. Topology update events and a start
of a new distributed cache are examples of those operations.

When the partition map exchange starts, Ignite acquires a global lock at a particular stage.
The lock can't be obtained until pending transactions are running in parallel. If there is
a transaction that runs for a while, then it will prevent the partition map exchange process
from the start freezing some operations such as a new node join process.

This property allows to rollback such long transactions to let Ignite acquire the lock faster
and initiate the partition map exchange process. The timeout is enforced only at the time
of the partition map exchange process.

See {{TransactionConfiguraion}} and {{IgniteTransactions.localActiveTransactions and withLabel}}
methods.

Original ticket:
https://issues.apache.org/jira/browse/IGNITE-6827



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message