shishkovilja commented on code in PR #13206:
URL: https://github.com/apache/ignite/pull/13206#discussion_r3379753536
##########
modules/core/src/main/java/org/apache/ignite/internal/management/cdc/CdcCacheDataResendTask.java:
##########
@@ -71,6 +72,10 @@ public class CdcCacheDataResendTask extends
VisorMultiNodeTask<CdcResendCommandA
/** {@inheritDoc} */
@Override protected Collection<UUID>
jobNodes(VisorTaskArgument<CdcResendCommandArg> arg) {
+ // Check if cluster is inactive.
+ if (ignite.cluster().state() == INACTIVE)
+ throw new IgniteException("CDC cache data resend cancelled.
Cluster is inactive.");
Review Comment:
```suggestion
throw new IgniteException("CDC resend command was cancelled
because Ignite cluster is inactive.");
```
--
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]