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

First LeaderAndIsrRequest can take long due to unnecessary ZK read

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Jun Rao found the following issue:

      In Partition, we have the following code. fetchLogConfig is passed in to logManager.getOrCreateLog by value. This can increase the processing time for the very first LeaderAndIsrRequest since every partition has to do a ZK read to load the log config. This is unnecessary if the log is always present and loaded during the initialization of LogManager.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijuma Ismael Juma
                Reporter:
                ijuma Ismael Juma
                Reviewer:
                Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: