[ 
https://issues.apache.org/jira/browse/IGNITE-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050286#comment-17050286
 ] 

Anton Vinogradov edited comment on IGNITE-12741 at 3/3/20 2:57 PM:
-------------------------------------------------------------------

[~ascherbakov],

1) Recovery starts not at ExchangeFuture but at 
{org/apache/ignite/internal/processors/cache/transactions/IgniteTxManager.java:342}
 
{noformat}
cctx.gridEvents().addDiscoveryEventListener(
            new DiscoveryEventListener() {
                @Override public void onEvent(DiscoveryEvent evt, DiscoCache 
discoCache) {
                    if (evt.type() == EVT_NODE_FAILED || evt.type() == 
EVT_NODE_LEFT) {
                        UUID nodeId = evt.eventNode().id();

                        IgniteInternalFuture<?> recInitFut = 
cctx.kernalContext().closure().runLocalSafe( // STARTS HERE
                            new TxRecoveryInitRunnable(evt.eventNode(), 
cctx.coordinators().currentCoordinator()));
{noformat}
ExchangeFuture only waits for recovery finished.


was (Author: avinogradov):
[~ascherbakov],

1) Recovery starts not at ExchangeFuture but at 
{org/apache/ignite/internal/processors/cache/transactions/IgniteTxManager.java:342}
 
{noformat}
cctx.gridEvents().addDiscoveryEventListener(
            new DiscoveryEventListener() {
                @Override public void onEvent(DiscoveryEvent evt, DiscoCache 
discoCache) {
                    if (evt.type() == EVT_NODE_FAILED || evt.type() == 
EVT_NODE_LEFT) {
                        UUID nodeId = evt.eventNode().id();

                        IgniteInternalFuture<?> recInitFut = 
cctx.kernalContext().closure().runLocalSafe(
                            new TxRecoveryInitRunnable(evt.eventNode(), 
cctx.coordinators().currentCoordinator()));
{noformat}
ExchangeFuture only waits for recovery finished.

> Allow exchange merges for PME free switch.
> ------------------------------------------
>
>                 Key: IGNITE-12741
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12741
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.8
>            Reporter: Alexey Scherbakov
>            Priority: Major
>             Fix For: 2.9
>
>
> Currently exchange merges are disabled if multiple baseline nodes left/failed.
> It's possible to have enabled merges together with enabled optimization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to