[
https://issues.apache.org/jira/browse/KAFKA-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Armando Garcia Sancio reassigned KAFKA-6858:
-------------------------------------------------
Assignee: Jose Armando Garcia Sancio (was: 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: Jose Armando Garcia Sancio
> 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)