Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Shutdown timeout could be configurable. If broker fails to stop in 30 seconds, then immediate exit could lead to corrupted store.
2020-04-06 13:54:24,548 WARN [QpidBrokerShutdownHook] (o.a.q.s.m.AbstractSystemConfig) - Attempting to cleanly shutdown took too long, exiting immediately java.util.concurrent.TimeoutException: Waited 30000 milliseconds (plus 83875 nanoseconds delay) for com.google.common.util.concurrent.SettableFuture@347b074b[status=PENDING] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:494) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:97) at org.apache.qpid.server.model.AbstractSystemConfig$ShutdownService$1.run(AbstractSystemConfig.java:616) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:360) at org.apache.qpid.server.model.AbstractSystemConfig$ShutdownService.run(AbstractSystemConfig.java:606) at java.lang.Thread.run(Thread.java:745)