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

First LeaderAndIsrRequest can take long due to unnecessary ZK read

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      junrao 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

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

              Dates

                Created:
                Updated:
                Resolved: