[
https://issues.apache.org/jira/browse/KAFKA-18129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhinav Dixit updated KAFKA-18129:
----------------------------------
Parent: KAFKA-16092
Issue Type: Sub-task (was: Bug)
> `SharePartition#maybeInitialize` doesn't obtain write lock to complete the
> initialization post persister read
> -------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-18129
> URL: https://issues.apache.org/jira/browse/KAFKA-18129
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Abhinav Dixit
> Assignee: Abhinav Dixit
> Priority: Major
>
> There's a problem in `SharePartition#maybeInitialize` where part of the logic
> executes when the persister operation completes, and it doesn't obtain the
> lock to complete the initialization. This can cause potential race condition
> while future completion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)