kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-1544) LogCleaner may take a long time to shutdown
Date Thu, 17 Jul 2014 14:49:04 GMT
Jun Rao created KAFKA-1544:

             Summary: LogCleaner may take a long time to shutdown
                 Key: KAFKA-1544
                 URL: https://issues.apache.org/jira/browse/KAFKA-1544
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8.2
            Reporter: Jun Rao

We have the following code in LogCleaner. Since the cleaner thread is shutdown w/o interrupt.
If may take up to backoff time for the cleaner thread to detect the shutdown flag.

    private def cleanOrSleep() {
      cleanerManager.grabFilthiestLog() match {
        case None =>
          // there are no cleanable logs, sleep a while

This message was sent by Atlassian JIRA

View raw message