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

UIMA AS client hangs while handling CPC request

    XMLWordPrintableJSON

Details

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

    Description

      When UIMA AS client is initialized it acquires a CPC semaphore to control when to send a CPC request. The semaphore is released when a number of CASes sent equals a number of CASes received. Only when equal the semaphore is released and the CPC request is allowed to be sent.

      In a case when a client is initialized but never sends any CASes this logic fails. The semaphore is never released causing a hang while trying to acquire a semaphore in collectionProcessComplete().

      Add a new test case to replicate the problem.

      Fix the code to handle sending CPC from a client that doesnt send CASes to a service.

      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: