Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1346

Consensus queue crashes creating message for peer due to batch size

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7.0
    • Fix Version/s: None
    • Component/s: consensus
    • Labels:
      None

      Description

      bruce_song zhang hit the following error:

      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)
      

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dralves David Alves
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: