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)