Tomas Vavricka created QPID-8456:
------------------------------------

             Summary: [Broker-J] Configurable shutdown timeout
                 Key: QPID-8456
                 URL: https://issues.apache.org/jira/browse/QPID-8456
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
            Reporter: Tomas Vavricka


Shutdown timeout could be configurable. If broker fails to stop in 30 seconds, 
then immediate exit could lead to corrupted store.

{noformat}
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)
{noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to