You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "feyman (Jira)" <ji...@apache.org> on 2020/12/14 07:02:00 UTC

[jira] [Comment Edited] (KAFKA-10636) Bypass log validation for writes to raft log

    [ https://issues.apache.org/jira/browse/KAFKA-10636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248766#comment-17248766 ] 

feyman edited comment on KAFKA-10636 at 12/14/20, 7:01 AM:
-----------------------------------------------------------

[~hachikuji] I created a PR for this, request for review, thanks!

https://github.com/apache/kafka/pull/9739


was (Author: feyman):
[~hachikuji] I created a PR #9739 for this, request for review, thanks!

> Bypass log validation for writes to raft log
> --------------------------------------------
>
>                 Key: KAFKA-10636
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10636
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jason Gustafson
>            Assignee: feyman
>            Priority: Major
>              Labels: raft-log-management
>
> The raft leader is responsible for creating the records written to the log (including assigning offsets and the epoch), so we can consider bypassing the validation done in `LogValidator`. This lets us skip potentially expensive decompression and the unnecessary recomputation of the CRC.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)