Avro
  1. Avro
  2. AVRO-1138

avro-c: can`t set default block size in avro_file_writer_open

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: c
    • Labels:
      None

      Description

      There is no way to set a default block size while opening avro log. For example, I can create a file writer with a custom block size (say, 128kb) and write a big record. But if I`ll open it later trying to write something bigger than default size (say, 90kb record), I`ll get an error.

      1. AVRO-1138.patch
        2 kB
        Pugachev Maxim

        Activity

        Hide
        Pugachev Maxim added a comment -

        Patch for this issue.

        Show
        Pugachev Maxim added a comment - Patch for this issue.
        Hide
        Pugachev Maxim added a comment -

        Any chances for reviewing it?

        Show
        Pugachev Maxim added a comment - Any chances for reviewing it?
        Hide
        Douglas Creager added a comment -

        Looks good. Merged into SVN, with some minor whitespace modifications.

        Show
        Douglas Creager added a comment - Looks good. Merged into SVN, with some minor whitespace modifications.

          People

          • Assignee:
            Unassigned
            Reporter:
            Pugachev Maxim
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development