ijuma commented on PR #18997:
URL: https://github.com/apache/kafka/pull/18997#issuecomment-2679793666

   > We could use MINIMUM_VERSION for initialization and the correct MV will be 
set after replaying the log.
   
   This is error-prone though. While working on #18845, we found [an existing 
race 
condition](https://github.com/apache/kafka/pull/18845/commits/70667a4935afe8891292410e48b5b7b945bf0aaa#r1956516319)
 that was hard to detect because we silently used the wrong metadata version in 
a number of situations. I fear this approach may lead to similar problems.
   
   I think it's cleanest to leave the metadata version unset until we actually 
read it from the log.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to