[
https://issues.apache.org/jira/browse/KAFKA-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guozhang Wang reassigned KAFKA-6190:
------------------------------------
Assignee: Alex Good
> GlobalKTable never finishes restoring when consuming transactional messages
> ---------------------------------------------------------------------------
>
> Key: KAFKA-6190
> URL: https://issues.apache.org/jira/browse/KAFKA-6190
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 0.11.0.1, 1.0.0
> Environment: Linux
> Reporter: Alex Good
> Assignee: Alex Good
> Priority: Blocker
> Fix For: 0.11.0.2, 1.1.0, 1.0.1
>
>
> When creating a GlobalKTable from a topic that contains messages that were
> produced in a transaction the GlobalStreamThread never finishes restoring the
> table. This appears to be because the `GlobalStateManagerImpl#restoreState`
> method fails to take into account the transaction markers in it's calculation
> of it's offset when reading messages and so never reaches the high watermark
> for the topic it is restoring.
> To demonstrate the issue produce a few messages in a transaction to a topic,
> then attempt to restore a GlobalKTable from that topic, the store will never
> complete restoring.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)