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

Services that timeout should be handled differently on subsequent requests

    XMLWordPrintableJSON

Details

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

    Description

      When a request times out, the service should be put into a "questionable" state. Requests to a service in questionable state will then use a different logic: first send a getMeta request with a short timeout; if the getMeta succeeds, the questionable state is removed and the normal request is sent; if getMeta fails, an error is returned for the request with the state unchanged.

      This logic should be used for both API and aggregate clients.

      Attachments

        1. uimaj-as-activemq-UIMA-1127-patch.txt
          53 kB
          Jaroslaw Cwiklik
        2. uimaj-as-core-UIMA-1127-patch.txt
          47 kB
          Jaroslaw Cwiklik
        3. uimaj-as-jms-UIMA-1127-patch.txt
          31 kB
          Jaroslaw Cwiklik
        4. uimaj-as-core-UIMA-1127-patch-PingTimeoutEH.txt
          2 kB
          Jaroslaw Cwiklik
        5. uimaj-as-jms-UIMA-1127-patch-PingTimeoutEH.txt
          2 kB
          Jaroslaw Cwiklik
        6. uimaj-as-jms-UIMA-1127-patch-PingTimeoutAbort.txt
          0.7 kB
          Jaroslaw Cwiklik
        7. uimaj-as-activemq-UIMA-1127-patch-FixesClientApiPing.txt
          4 kB
          Jaroslaw Cwiklik
        8. uimaj-as-core-UIMA-1127-patch-FixesClientApiPing.txt
          3 kB
          Jaroslaw Cwiklik
        9. uimaj-as-jms-UIMA-1127-patch-FixesClientApiPing.txt
          14 kB
          Jaroslaw Cwiklik

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: