Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8456

[Broker-J] Configurable shutdown timeout

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • qpid-java-broker-9.0.0
    • Broker-J
    • 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)
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            vavrtom Tomas Vavricka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: