[ 
https://issues.apache.org/jira/browse/KAFKA-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anna Povzner reassigned KAFKA-6858:
-----------------------------------

    Assignee: Anna Povzner

> Log.truncateTo() may truncate to an earlier offset than requested
> -----------------------------------------------------------------
>
>                 Key: KAFKA-6858
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6858
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Anna Povzner
>            Priority: Major
>
> In Log.truncateTo(), if the truncation point is in the middle of a message 
> set, we will actually be truncating to the first offset of the message set. 
> In that case, the replica fetcher thread should adjust the fetch offset to 
> the actual truncated offset. Typically, the truncation point should never be 
> in the middle of a message set. However, this could potentially happen during 
> message format upgrade.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to