Kafka
  1. Kafka
  2. KAFKA-947

isr-expiration-thread may block LeaderAndIsr request for a relatively long period

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:
      None

      Description

      If there are lots of partitions whose isr needs to be shrank, isr-expiration-thread will hold a long lock on leaderPartitionsLock, which will delay LeaderAndIsr requests.

        Activity

        Hide
        Jun Rao added a comment -

        Attach a patch.

        Show
        Jun Rao added a comment - Attach a patch.
        Hide
        Joel Koshy added a comment -

        +1 thanks for the patch!

        Show
        Joel Koshy added a comment - +1 thanks for the patch!
        Hide
        Jun Rao added a comment -

        Thanks for the patch. Committed to 0.8

        Show
        Jun Rao added a comment - Thanks for the patch. Committed to 0.8

          People

          • Assignee:
            Jun Rao
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development