ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6174) Exchange may do not wait for tx completion in case node failures
Date Wed, 23 Aug 2017 15:21:00 GMT
Semen Boikov created IGNITE-6174:

             Summary: Exchange may do not wait for tx completion in case node failures
                 Key: IGNITE-6174
                 URL: https://issues.apache.org/jira/browse/IGNITE-6174
             Project: Ignite
          Issue Type: Bug
            Reporter: Semen Boikov
            Assignee: Semen Boikov
             Fix For: 2.2

Very good reproduces in IgniteCachePartitionedNearDisabledPrimaryNodeFailureRecoveryTest.testOptimisticPrimaryAndOriginatingNodeFailureRecovery1.

Approximate scenario:
- there are several nodes in topology
- node A starts tx prepare
- one node fails, exchange is started
- all servers except node A finishes 'waitPartitionRelease()' and coordinator waits for node
- node A also fails, but it was able to send prepare request and it will be processed
- since node A failed others nodes can finish exchange, without waiting for tx completion

Note: to increase possibility change nodes start order in IgniteCacheAbstractTest:
    protected void startGrids() throws Exception {
        int cnt = gridCount();

        assert cnt >= 1 : "At least one grid must be started";



It seems one possible solution: exchange should wait when all messages from failed node are

This message was sent by Atlassian JIRA

View raw message