Vladislav Pyatkov created IGNITE-20998:
------------------------------------------

             Summary: ItDurableFinishTest pauses the messaging service
                 Key: IGNITE-20998
                 URL: https://issues.apache.org/jira/browse/IGNITE-20998
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


The pattern of using the dropMessages method is incorrect because it may lead 
to a breakdown of the cluster topology.
{code}
coordinatorMessaging.dropMessages((s, networkMessage) -> {
    if (networkMessage instanceof TxFinishReplicaRequest) {
        try {
            logger().info("Pausing message handling: {}.", networkMessage);
            transfer.countDown();
            msg.await();
            logger().info("Continue message handling: {}.", networkMessage);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
    return false;
});
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to