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

Change Log layer segment map mutations to avoid absence of active segment

    XMLWordPrintableJSON

Details

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

    Description

      https://github.com/apache/kafka/pull/10650 showed a case where active segment was absent when Log layer segments were iterated. We should investigate Log layer code to see if we can change Log layer segment map mutations to avoid absence of active segment at any given point. For example, if we are clearing all segments and creating a new one, maybe we can reverse the order to create a new segment first and then clear the old ones later.

      Attachments

        Issue Links

          Activity

            People

              yuyang08 Yu Yang
              kprakasam Kowshik Prakasam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: