[
https://issues.apache.org/jira/browse/KAFKA-12875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao resolved KAFKA-12875.
-----------------------------
Fix Version/s: 3.3.0
Assignee: Yu Yang
Resolution: Fixed
Merged to trunk.
> 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
> Assignee: Yu Yang
> Priority: Major
> Fix For: 3.3.0
>
>
> [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.20.1#820001)