You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/10 18:00:49 UTC

[GitHub] [kafka] jolshan opened a new pull request #10100: MINOR: Prevent creating partition.metadata until ID can be written

jolshan opened a new pull request #10100:
URL: https://github.com/apache/kafka/pull/10100


   I'm porting https://github.com/apache/kafka/pull/10041 to the 2.8 branch.
   
   Currently the partition.metadata file is created when the log is created. However, clusters with older inter-broker protocols will never use this file. This PR moves the creation of the file to when we write to the file.
   
   This PR also deletes the partition.metadata file on startup if the IBP version is lower than 2.8.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] junrao merged pull request #10100: MINOR: Prevent creating partition.metadata until ID can be written

Posted by GitBox <gi...@apache.org>.
junrao merged pull request #10100:
URL: https://github.com/apache/kafka/pull/10100


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] jolshan commented on pull request #10100: MINOR: Prevent creating partition.metadata until ID can be written

Posted by GitBox <gi...@apache.org>.
jolshan commented on pull request #10100:
URL: https://github.com/apache/kafka/pull/10100#issuecomment-777128859


   Test failures seem to be mostly known flakes. Tests that failed passed locally.
   https://issues.apache.org/jira/browse/KAFKA-9295
   https://issues.apache.org/jira/browse/KAFKA-12283
   https://issues.apache.org/jira/browse/KAFKA-9009


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org