J-Bakuli commented on code in PR #10328:
URL: https://github.com/apache/ignite/pull/10328#discussion_r1040626628
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/verify/VerifyBackupPartitionsTaskV2.java:
##########
@@ -193,6 +193,11 @@ public VerifyBackupPartitionsJobV2(VisorIdleVerifyTaskArg
arg) {
/** {@inheritDoc} */
@Override public Map<PartitionKeyV2, PartitionHashRecordV2> execute()
throws IgniteException {
+ if (!ignite.context().state().publicApiActiveState(true)) {
+ throw new IgniteException("Can not perform the operation
because the cluster is inactive. Note, that " +
+ "the cluster is considered inactive by default if
Ignite Persistent Store is used to let all the nodes " +
+ "join the cluster. To activate the cluster call
Ignite.active(true).");
+ }
Review Comment:
thank you, I will change
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]