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


   After noticing increased LISR times, we discovered a lot of time was spent 
synchronously flushing the partition metadata file. This PR changes the code so 
we asynchronously flush the files.
   
   We ensure files are flushed before appending, renaming or closing the log to 
ensure we have the partition metadata information on disk. Three new tests have 
been added to address these cases.
   
   Benchmark by @lbradstreet is included to compare the times. I will update 
this description after I compare trunk to this branch.
   
   ### 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.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

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


Reply via email to