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 2022/06/07 18:40:44 UTC

[GitHub] [kafka] hachikuji opened a new pull request, #12262: MINOR: Fix kraft timeout in LogOffsetTest

hachikuji opened a new pull request, #12262:
URL: https://github.com/apache/kafka/pull/12262

   We have been seeing a lot of timeouts in `LogOffsetTest` when KRaft is enabled. The problem is the dependence on `MockTime`. In the KRaft broker, we depend on having a steadily advancing time for events in `KafkaEventQueue` to get executed. In the case of the timeouts, the broker was stuck with the next heartbeat event in the queue, which we depended on in order to send the next heartbeat and complete the `initialCatchUpFuture`, which is needed to finish startup.
   
   As far as I can tell, the test does not have a strong dependence on `MockTime`, so I have replaced it with system time.
   
   ### 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-unsubscribe@kafka.apache.org

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


[GitHub] [kafka] hachikuji merged pull request #12262: KAFKA-13942: Fix kraft timeout in LogOffsetTest

Posted by GitBox <gi...@apache.org>.
hachikuji merged PR #12262:
URL: https://github.com/apache/kafka/pull/12262


-- 
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-unsubscribe@kafka.apache.org

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