You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/05/06 18:50:08 UTC
[GitHub] [ignite] Mmuzaf commented on a change in pull request #7767: IGNITE-12967: Start cluster snapshot from client node
Mmuzaf commented on a change in pull request #7767:
URL: https://github.com/apache/ignite/pull/7767#discussion_r421016006
##########
File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java
##########
@@ -648,6 +648,13 @@ public boolean isSnapshotCreating() {
if (!clusterState.hasBaselineTopology())
throw new IgniteException("Snapshot operation has been rejected. The baseline topology is not configured for cluster.");
+ if (cctx.kernalContext().clientNode()) {
+ return cctx.kernalContext().grid()
+ .compute(cctx.kernalContext().grid().cluster()
+ .forNodeId(U.oldest(cctx.kernalContext().discovery().aliveServerNodes(), null).id()))
Review comment:
Fixed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org