wenbingshen opened a new pull request #10553:
URL: https://github.com/apache/kafka/pull/10553


   When I tested the kraft mode, I found that the time taken to load the 
snapshot in the startup log was negative.
   
   [2021-04-18 00:19:37,377] INFO [Log partition=@metadata-0, 
dir=/tmp/kraft-combined-logs] Recovering unflushed segment 0 (kafka.log.Log)
   [2021-04-18 00:19:37,382] INFO [Log partition=@metadata-0, 
dir=/tmp/kraft-combined-logs] Loading producer state till offset 0 with message 
format version 2 (kafka.log.Log)
   [2021-04-18 00:19:37,389] INFO [Log partition=@metadata-0, 
dir=/tmp/kraft-combined-logs] Reloading from producer snapshot and rebuilding 
producer state from offset 0 (kafka.log.Log)
   [2021-04-18 00:19:37,393] INFO [Log partition=@metadata-0, 
dir=/tmp/kraft-combined-logs] Producer state recovery took **-2ms** for 
snapshot load and 1ms for segment recovery from offset 0 (kafka.log.Log)
   
   ### 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:
us...@infra.apache.org


Reply via email to