You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kowshik Prakasam (Jira)" <ji...@apache.org> on 2021/06/01 21:28:00 UTC

[jira] [Created] (KAFKA-12875) Change Log layer segment map mutations to avoid absence of active segment

Kowshik Prakasam created KAFKA-12875:
----------------------------------------

             Summary: Change Log layer segment map mutations to avoid absence of active segment
                 Key: KAFKA-12875
                 URL: https://issues.apache.org/jira/browse/KAFKA-12875
             Project: Kafka
          Issue Type: Improvement
            Reporter: Kowshik Prakasam


[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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)