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/04/17 17:12:35 UTC

[GitHub] [kafka] wenbingshen opened a new pull request #10553: MINOR: Fix the negative time difference value from Log.scala

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:
users@infra.apache.org



[GitHub] [kafka] dajac commented on pull request #10553: MINOR: Fix the negative time difference value from Log.scala

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


   Test failures are not related. Merging to trunk.


-- 
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] wenbingshen commented on pull request #10553: MINOR: Fix the negative time difference value from Log.scala

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


   @lbradstreet  Can you take a look at this PR? I think you made a mistake by accident. :)


-- 
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] dajac merged pull request #10553: MINOR: Fix the negative time difference value from Log.scala

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


   


-- 
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] wenbingshen commented on pull request #10553: MINOR: Fix the negative time difference value from Log.scala

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


   @dajac Can you take a look at this PR? Thanks. :)


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