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

Race condition in Java fingerprinting code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.6.3
    • Component/s: java
    • Labels:
      None

      Description

      There is a subtle race condition. If the fpTable64 is not yet initialized and two thread try to compute FP for two schemas (or the same schema) at the same time, one thread will start initializing the table while the other can start using the partially initialized table giving wrong result.

      The forthcoming patch fixes that issue

        Attachments

        1. AVRO-1055.patch
          1 kB
          Thiruvalluvan M. G.

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: