Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-1424

ValidatingDecoder hangs on large schema

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.5
    • Fix Version/s: 1.7.6
    • Component/s: c++
    • Labels:
      None

      Description

      Try to create Validation decoder using attached schema. It hangs and causes huge memory allocation. The problem is because of boost::any which is making excessive copies of objects when creating Symbols.

      And also fixup method which is being called in validation decoder creation stack is also taking long very very long time.

        Attachments

        1. model.avsc
          377 kB
          Ramana Suvarapu
        2. AVRO-1424.patch
          437 kB
          Thiruvalluvan M. G.

          Activity

            People

            • Assignee:
              thiru_mg Thiruvalluvan M. G.
              Reporter:
              ramanasv Ramana Suvarapu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: