kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (Jira)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-10636) Bypass log validation for writes to raft log
Date Thu, 03 Dec 2020 21:33:00 GMT

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

Jason Gustafson commented on KAFKA-10636:

[~feyman] Sounds good, thanks for picking it up. It might just be a matter of taking advantage
of the `AppendOrigin` which we added to `Log.appendAsLeader`.

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

View raw message