Skip to content

Commit 413e33e

Browse files
committed
IGNITE-27118 Add new event to listen to
1 parent 5fe7ced commit 413e33e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/RollingUpgradeProcessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import org.jetbrains.annotations.Nullable;
4545

4646
import static org.apache.ignite.events.EventType.EVT_NODE_FAILED;
47+
import static org.apache.ignite.events.EventType.EVT_NODE_JOINED;
4748
import static org.apache.ignite.events.EventType.EVT_NODE_LEFT;
4849
import static org.apache.ignite.internal.IgniteNodeAttributes.ATTR_BUILD_VER;
4950
import static org.apache.ignite.internal.processors.metastorage.DistributedMetaStorage.IGNITE_INTERNAL_KEY_PREFIX;
@@ -103,7 +104,7 @@ public RollingUpgradeProcessor(GridKernalContext ctx) {
103104
RollingUpgradeProcessor.this.lastJoiningNode = null;
104105
}
105106
}
106-
}, EVT_NODE_FAILED, EVT_NODE_LEFT);
107+
}, EVT_NODE_JOINED, EVT_NODE_FAILED, EVT_NODE_LEFT);
107108

108109
ctx.internalSubscriptionProcessor().registerDistributedMetastorageListener(new DistributedMetastorageLifecycleListener() {
109110
@Override public void onReadyForWrite(DistributedMetaStorage metastorage) {

0 commit comments

Comments
 (0)