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)

Reply via email to