You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Abhinav Dixit (Jira)" <ji...@apache.org> on 2024/12/01 10:42:00 UTC
[jira] [Created] (KAFKA-18129) `SharePartition#maybeInitialize` doesn't obtain write lock to complete the initialization post persister read
Abhinav Dixit created KAFKA-18129:
-------------------------------------
Summary: `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: Bug
Reporter: Abhinav Dixit
Assignee: Abhinav Dixit
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)