ivanzlenko commented on code in PR #5410:
URL: https://github.com/apache/ignite-3/pull/5410#discussion_r1998090705
##########
modules/index/src/main/java/org/apache/ignite/internal/index/ChangeIndexStatusTask.java:
##########
@@ -176,8 +184,14 @@ CompletableFuture<Void> start() {
if (throwable != null) {
Throwable cause = unwrapCause(throwable);
- if (!(cause instanceof IndexTaskStoppingException)
&& !(cause instanceof NodeStoppingException)) {
- LOG.error("Error starting index task: {}",
cause, indexDescriptor.id());
+ if (!(cause instanceof IndexTaskStoppingException)
+ && !(cause instanceof
NodeStoppingException)
+ // The index's table might have been
dropped while we were waiting for the ability to switch the index
+ // status to a new state, so IndexNotFound
is not a problem.
Review Comment:
```suggestion
// The index's table might have been
dropped while we were waiting for the ability
// to switch the index status to a new
state, so IndexNotFound is not a problem.
```
--
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]