You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2016/03/25 21:53:25 UTC

[jira] [Updated] (KUDU-1346) Consensus queue crashes creating message for peer due to batch size

     [ https://issues.apache.org/jira/browse/KUDU-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated KUDU-1346:
-------------------------------------
    Target Version/s: 0.9.0  (was: 0.8.0)

Moving this to 0.9.0, feel free to move back if a fix is written.

> Consensus queue crashes creating message for peer due to batch size
> -------------------------------------------------------------------
>
>                 Key: KUDU-1346
>                 URL: https://issues.apache.org/jira/browse/KUDU-1346
>             Project: Kudu
>          Issue Type: Bug
>          Components: consensus
>    Affects Versions: 0.7.0
>            Reporter: David Alves
>            Priority: Critical
>
> bruce_song zhang hit the following error:
> {code}
> F0222 11:30:16.552686 23428 consensus_queue.cc:370] Check failed: request->ByteSize() <= FLAGS_consensus_max_batch_size_bytes (3042252 vs. 1048576) 
> F0222 11:30:16.552693 23416 consensus_queue.cc:370] Check failed: request->ByteSize() <= FLAGS_consensus_max_batch_size_bytes (3042252 vs. 1048576)
> {code}
> It seems plausible that we might allow a write that is bigger than the max consensus batch size, and since there is a path in log cache that always sends at least one message, we might fail this check and crash.
> The workaround is to set a bigger value than the default for --consensus_max_batch_size_bytes



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)