Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16092 Queues for Kafka
  3. KAFKA-17510

Refactor code between SharePartitionManager and DelayedShareFetch for share partition initialization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None
    • None

    Description

      In reference to comment https://github.com/apache/kafka/pull/16969#discussion_r1750754052 and https://github.com/apache/kafka/pull/17380#issuecomment-2401324630 , we need to refactor code between SharePartitionManager and DelayedShareFetch so that the initialization error of share partition gets considered.

      Also, If a sharePartition is being initialized, any pending shareFetchRequest is blocked in the purgatory. So, after the initialization completes, we need to trigger a check in the share fetch purgatory to wake up pending delayed operations. 

      Attachments

        Issue Links

          Activity

            People

              apoorvmittal10 Apoorv Mittal
              adixitconfluent Abhinav Dixit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: