Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2162

Fix UIMA AS race condition allowing parent CAS to hit the Flow Controller ahead of its child CASes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1AS
    • 2.4.0AS
    • Async Scaleout
    • None

    Description

      A race condition exists in the UIMA AS Aggregate with a scaled up reply queue. Multiple, concurrent threads consuming CASes produced by a Cas Multiplier execute at different speeds (most likely due to different de-serialization times) allowing for a parent CAS to call Flow Controller's next() method before all of its child CASes obtain their Flow objects. Add necessary synchronization to orchestrate orderly flow of CASes to make sure that the parent CAS never reaches the Flow Controller ahead of its children.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: