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

UIMA-DUCC: Fix race in agent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.1-DUCC
    • DUCC
    • None

    Description

      There is a race condition in agent which leads to incorrect process reporting in Duccmon. In this scenario the following happened:

      • agent started JP
      • JP reported Initializing state which agent then publishes to the OR
      • JP reported Running state but immediately after died due to process error. The agent detected process termination (before publishing Running to OR) and changed state to failed with reason Unknown

      The result is that the OR thinks that the JP died while Initializing since Running state was never published. There is a small window where the race can occur.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: