Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4290

High CPU caused by timeout overflow in WorkerCoordinator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.10.1.0, 0.10.2.0
    • connect
    • None

    Description

      The timeout passed to WorkerCoordinator.poll() can overflow if large enough because we add it to the current time in order to calculate the call's deadline. This shortcuts the poll loop and results in a very tight event loop which can saturate a CPU. We hit this case out of the box because Connect uses a default timeout of Long.MAX_VALUE.

      Attachments

        Activity

          People

            hachikuji Jason Gustafson
            hachikuji Jason Gustafson
            Ewen Cheslack-Postava Ewen Cheslack-Postava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: