NIFI-13883 [MiNiFI][C2] Fix MiNiFI recovery if exception happens on config update

Signed-off-by: Ferenc Kis <briansolo1985@gmail.com>

This closes #9402.
This commit is contained in:
Ferenc Erdei 2024-10-17 09:30:28 +02:00 committed by Ferenc Kis
parent babfd5a559
commit 94d0ee9460
No known key found for this signature in database
GPG Key ID: 5E1CCAC15A5958F2
2 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,6 @@ public final class FlowValidator {
)
.ifPresent(controllerServices -> {
LOGGER.error("The following controller services are still in ENABLING state: {}", controllerServices);
throw new IllegalStateException("Maximum retry number exceeded while waiting for controller service to be validated");
});
}

View File

@ -226,6 +226,7 @@ public class MiNiFi {
new MiNiFi(properties);
} catch (final Throwable t) {
logger.error("Failure to launch MiNiFi", t);
System.exit(1);
}
}