[ 
https://issues.apache.org/jira/browse/KAFKA-16855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865408#comment-17865408
 ] 

Christo Lolov commented on KAFKA-16855:
---------------------------------------

Heya, [~muralibasani]! The general idea of replaying a TopicRecord is the 
following:
 * If a topic has tiering enabled then it should have both copy and expire tasks
 * If a topic doesn't have tiering enabled then it should have only expire tasks

I believe a good starting point of how records are replayed is the 
ReplicaManager#applyDelta

Does this give you enough information to start?

> KRaft - Wire replaying a TopicRecord
> ------------------------------------
>
>                 Key: KAFKA-16855
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16855
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Christo Lolov
>            Assignee: Muralidhar Basani
>            Priority: Major
>
> *Summary*
> Replaying a TopicRecord containing a new TieredEpoch and TieredState needs to 
> interact with the two thread pools in the RemoteLogManager to add/remove the 
> correct tasks from each



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to