From 9ede2158f92bf44a20756581d5a752df0e22ee0a Mon Sep 17 00:00:00 2001 From: Emmanuel Hugonnet Date: Fri, 13 Dec 2024 13:47:02 +0100 Subject: [PATCH] [WFCORE-7088]: Add a trace when restartRequired is ignored because of booting. * debug trace added. Jira: https://issues.redhat.com/browse/WFCORE-7088 Signed-off-by: Emmanuel Hugonnet --- .../java/org/jboss/as/controller/AbstractOperationContext.java | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java b/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java index c04bc69e116..f7a8b403187 100644 --- a/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java +++ b/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java @@ -1242,6 +1242,7 @@ public final void reloadRequired() { @Override public final void restartRequired() { if (isBooting()) { + MGMT_OP_LOGGER.debug("Server is booting so we didn't set the restart required flag"); return; } activeStep.setRestartStamp(processState.setRestartRequired());